MobGUI Text Field Not Keeping Font Selection in Simulator
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
MobGUI Text Field Not Keeping Font Selection in Simulator
I set the font in my MobGUI iOS text field to Times, then typed some sample text in the MobGUI text box to confirm that it was displaying correctly in my stack. But then when I run the stack in the simulator, the font is switched to Helvetica. The font in my Stack Inspector is set to Times. Does the iOS override the font setting when it launches these native components? How can I keep the font as Times?
-
- VIP Livecode Opensource Backer
- Posts: 281
- Joined: Sat Jun 04, 2011 5:41 pm
- Location: Switzerland
Re: MobGUI Text Field Not Keeping Font Selection in Simulato
Be careful ... on iOS NOT all of your OSX fonts are available.
The attached table (... which is probably not updated) summarize the standard iOS fonts.
Obviously you can include other fonts in your App (... if you have the right ... verify the font copyright) ... see the "iOS LiveCode Notes".
Guglielmo
The attached table (... which is probably not updated) summarize the standard iOS fonts.
Obviously you can include other fonts in your App (... if you have the right ... verify the font copyright) ... see the "iOS LiveCode Notes".
Guglielmo
Re: MobGUI Text Field Not Keeping Font Selection in Simulato
Thank you, Guglielmo. I had noticed that the font drop box in MobGUI lists "Times" instead of "Times New Roman". Fortunately, by typing "Times New Roman" into the font box in MobGUI (rather than using the drop box), the simulator then picked up the "Times New Roman" font instead of the Helvetica (which must be the default). Great suggestion. Thanks again.