stack positioning

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
slowdash
Posts: 24
Joined: Wed Feb 22, 2012 10:52 am

stack positioning

Post by slowdash » Wed Apr 04, 2012 8:50 am

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: stack positioning

Post by Mark » Wed Apr 04, 2012 12:02 pm

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
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

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”