Stacks and content being resized
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Stacks and content being resized
Hi,
I received an email from support saying that stacks are re-sized on different resolutions but I will still need to resize the content. I was hoping everything would be re-sized automatically. So if I write an app to fit on the screen on an original iPhone with the resolution of 320x480 where everything looks right on the screen and just dragged the content there so no coding to position anything. And then ran it on an iPhone 4 with resolution of 640x960. Would the content be positioned in the upper left corner of the iPhone 4 screen? I wish it would center the content. Of if it was positioned for the iPhone 4 and the played on the smaller resolution it would move the content. No?
Thanks!
Warren
I received an email from support saying that stacks are re-sized on different resolutions but I will still need to resize the content. I was hoping everything would be re-sized automatically. So if I write an app to fit on the screen on an original iPhone with the resolution of 320x480 where everything looks right on the screen and just dragged the content there so no coding to position anything. And then ran it on an iPhone 4 with resolution of 640x960. Would the content be positioned in the upper left corner of the iPhone 4 screen? I wish it would center the content. Of if it was positioned for the iPhone 4 and the played on the smaller resolution it would move the content. No?
Thanks!
Warren
Re: Stacks and content being resized
Hi Warren,
I made a stack and posted it on the forum yesterday. It includes some resizing routines that might be useful for you. You can download it here.
Kind regards,
Mark
I made a stack and posted it on the forum yesterday. It includes some resizing routines that might be useful for you. You can download it here.
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: Stacks and content being resized
Thanks. So does this mean what I said will happen if I drop controls on the screen for 320x480 and then run in a 640x960 - will they show in the top left corner?
I'll look at what you linked to now.
I'll look at what you linked to now.
Re: Stacks and content being resized
Warren,
Usually, I make stacks with the right resolution before running them on a device, but I have seen too small a stack being centered on an iPad and another one positioned in the top-left on an Android device. I don't know whether this depends on the device or on the operating system of the device.
Best,
Mark
Usually, I make stacks with the right resolution before running them on a device, but I have seen too small a stack being centered on an iPad and another one positioned in the top-left on an Android device. I don't know whether this depends on the device or on the operating system of the device.
Best,
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: Stacks and content being resized
very nice. except when i hit test it says: "Unknown deployment platform". weird. (Developing for android)
quick question though:
if i want ONLY the re-size function do i just copy that section? i just like how i can resize and it refits things.
do i just copy that function into my "stack" and i am good?
quick question though:
if i want ONLY the re-size function do i just copy that section? i just like how i can resize and it refits things.
do i just copy that function into my "stack" and i am good?
Re: Stacks and content being resized
Hi cylent,
No, you don't. It is just an example of how resizing might work.
Kind regards,
Mark
No, you don't. It is just an example of how resizing might work.
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