Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 810

Getting Started with LiveCode - Experienced Developers • Re: Scaling on Mobile

$
0
0
Thank you Brian! Your mobileDemo is incredibly helpful. I'd never even heard of "mobileSetFullScreenRectForOrientations" before.

Unfortunately my stack does not love me because setting the rect of the stack doesn't "stick" either.

CODE:

log "rect =" && the rect of this stackset the rect of this stack to "0,0,330,547"log "rect =" && the rect of this stack
05-08 14:08:18.812 16121 16148 I LiveCode: rect = 0,24,412,708
05-08 14:08:18.813 16121 16148 I LiveCode: rect = 0,24,412,708
I've checked that the stack is "resizable". I tried adding mobileSetFullScreenRectForOrientations with the same dimension (which your code seems to do, although I've not looked deeply into it yet). I have no idea why it won't resize. I know it works because I watch it work on your demo! :-)

I'm going to make a new stack and start over and see what happens. Maybe I can figure out what I've got set on this one that it refuses to resize. You clearly know a ton more about this than I do, so if you have ideas what's going on, please let me know.

Jeff

Statistics: Posted by bamakojeff — Wed May 08, 2024 7:19 pm



Viewing all articles
Browse latest Browse all 810

Trending Articles