Page 1 of 1

stack positioning

Posted: Wed Apr 04, 2012 8:50 am
by slowdash
i have created an app (which i cant test directly on my tablet, pantech w/ android 3.2.1) so i had to save it as a standalone copy it over to the tablet and install it manually.
its a different matter but if anyone can answer why, its greatly appreciated as well.

now, i tried everything to center my app on the tablet(it works on my pc)

- set the loc of this stack to the screenloc
- set the left and top manually
- set the topleft manually
- created a button that adds 20-50px to the left when clicked (the value of "the left" seems to be increasing as i had an answer dialog output the new value) but the stack still does not move

I'm pretty much already stumped, and help is greatly appreciated

i have the latest livecode version 5.5 if its of any importance

-Rye

Re: stack positioning

Posted: Wed Apr 04, 2012 12:02 pm
by Mark
Hi Rye,

You simply can't do this. I believe Android draws all apps from the top-left and if the window is too small, it simply won't draw any more. You can't position the stack window. Instead, you should make sure that your stack runs full-screen on all mobile devices.

Kind regards,

Mark