Is there anyway I can do a line break in Native.showAlert’s Text ? [import]uid: 15055 topic_id: 7704 reply_id: 307704[/import]
yep, just use \n like this:
[lua]native.showAlert( ‘testing’ , ‘line 1\nline 2\nline 3’, { ‘Ok’ } )[/lua] [import]uid: 32962 topic_id: 7704 reply_id: 27318[/import]
Thanks also is there anyway to center it all? [import]uid: 15055 topic_id: 7704 reply_id: 27344[/import]
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… [import]uid: 32962 topic_id: 7704 reply_id: 27743[/import]