Is there anyway I can do a line break in Native.showAlert's Text ?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Native.showAlert() Question???
yep, just use \n like this:
1 | native.showAlert( 'testing' , 'line 1\nline 2\nline 3', { 'Ok' } ) |
Thanks also is there anyway to center it all?
I don't think there is any way to center the text in the native alert box, but I would be pleasantly surprised if an escape code to do that existed...
views:1686 update:2011/9/21 9:18:04
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
相关文章
Any idea why an app would build on a trial account but not on a purchased account
bug ( well maybe just an issue )
List View 2 in Director
Apple Rejecting Apps with OpenFeint
Can not find Float on Android Market
GameSalad Users - Templates
***Vector Artist Available***
Get current X and Y positions of the physics shape instead of the image.
Making a free version of your app: Linking to the AppStore
Twitter issue
bug ( well maybe just an issue )
List View 2 in Director
Apple Rejecting Apps with OpenFeint
Can not find Float on Android Market
GameSalad Users - Templates
***Vector Artist Available***
Get current X and Y positions of the physics shape instead of the image.
Making a free version of your app: Linking to the AppStore
Twitter issue
corona forums © 2003-2011