Preview of Resolution Independent Control library for RevMobile
Thomas McGrath III
mcgrath3 at mac.com
Wed Jul 25 09:11:40 EDT 2012
That is one of the problems with resizing controls based only on the size of the screen and not on the resolution of the device and not also changing the placement of controls based on the resolution of the device.
For most apps the size of controls (and text) should remain the same when going from iPod/iPhone size to iPad size. What should change is the LAYOUT and PLACEMENT of those controls because these two sizes require different visual layouts. But when switching from iPod/iPhone regular resolution to iPhone Retina the SIZE should change and not the placement of those controls and also when switching from iPad regular resolution to iPad Retina the SIZE should change and not the placement. Then of course when changing from iPhone Retina to iPad Retina the heretofore changed SIZES should now change their PLACEMENT as well.
In other words:
If you are changing from iPod/iPhone Regular Resolution to iPhone Retina Resolution then the SIZE should change and not layout/placement.
If you are changing from iPad Regular Resolution to iPad Retina Resolution then the SIZE should change and not layout/placement.
If you are changing from iPod/iPhone Regular Resolution to iPad Regular Resolution then LAYOUT/PLACEMENT should change and not size.
If you are changing from iPhone Retina Resolution to iPad Retina Resolution than LAYOUT/PLACEMENT should change and not size.
BUT, If you are changing from iPod/iPhone Regular Resolution through to iPad Retina then "both" the SIZE and LAYOUT/PLACEMENT should be changed.
If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size.
Also, not all apps need to change LAYOUT/PLACEMENT based on resolution (full screen maps, web views, etc.) but most apps should change SIZE when going from regular to retina resolutions.
HTHs
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net
On Jul 25, 2012, at 8:34 AM, John Allijn wrote:
> I'm working on an iOS app for both iPhone and iPad. This resize utility works great and saves me a lot of time.
> Just one question about the settings though.
>
> Is it possible to change the stack size in which you design the app?
>
> I am making an app for both the iphone and ipad in both landscape and portrait mode. Maybe I did not understand the tutorial well, but it seems like I'll have to design it on a 320x320 resolution (minwidth of a portrait and landscape iphone 3gs). It will scale up to iPad retina sizes, but designing the app is difficult. every mistake is amplified enormously and the canvas to work on is tiny. I would rather be working on an ipad screen-size and have it scale down to iphone-size when it's used there.
>
> thanks,
> John
More information about the use-livecode
mailing list