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:1706 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
相关文章
Request for timer.pause() & timer.resume() APIs
How to put your apps on a diet so that the final output is smaller
Lime vs LevelHelper
How to create memory function
Mentor
dialing and interacting with remote user
Final stages of releasing an app; memory and cleanup help required
Problem with clean-up
trying to develop a game
Like as3-signals? Try signal.lua
How to put your apps on a diet so that the final output is smaller
Lime vs LevelHelper
How to create memory function
Mentor
dialing and interacting with remote user
Final stages of releasing an app; memory and cleanup help required
Problem with clean-up
trying to develop a game
Like as3-signals? Try signal.lua
corona forums © 2003-2011