Hi,
Would it be possible to remember the font sizes used, as well as the control positions for different resolutions, or is there a way to specify the font sizes somehow based on the resolution?
The interface resizes nicely when I enter different screen sizes, however the fonts always jump back to the default settings which are too big for the 320x320 screen, and too small for the 480x800 layout.
Thanks
Andy
Android Font Resizing
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
Re: Android Font Resizing
Hi Andy,
You can write a script that sets the textSize of each object, depending on the screenRect.
Kind regards,
Mark
You can write a script that sets the textSize of each object, depending on the screenRect.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Android Font Resizing
Thanks Mark, thats the path im going down at the moment but thought as MobGUI already memorises all the rects for everything for different resolutions, it might be possible for it to remember the font sizes as well as this would make life a lot easier, rather than having to hard code sizes for every possible screen size.
Andy
Andy