Page 1 of 1
size of stack
Posted: Tue Nov 17, 2015 12:08 am
by aliyehia
When I use this code to resize the stack
set the fullScreenmode of me to "exactFit"
The stack is very larger then the mobile screen.
What I use to resize the stack according to mobile type?
Re: size of stack
Posted: Tue Nov 17, 2015 12:17 am
by quailcreek
What is the size of your stack? For example, iPhone 4 is 320x480. fullScreenMode does not resize the stack is only changes how the interface is displayed.
Re: size of stack
Posted: Tue Nov 17, 2015 12:40 am
by aliyehia
500 x 670
I need resize the stack and its card and its controls(image, text, lable...)
I make the app for desktop and mobile.
What's your advise?
Thanks
Re: size of stack
Posted: Tue Nov 17, 2015 12:57 am
by quailcreek
Your going to need 2 apps. One for DT and one for mobile. Mobile controls are handled differently that those on a desktop app. I would build the DT app and then see how much of the code can then be used on mobile and adjust your mobile code from that point.
http://lessons.livecode.com
Re: size of stack
Posted: Tue Nov 17, 2015 1:01 am
by aliyehia
ok,
What's the suitable size for mobiles with different sizes, Ipad and Tablet?
How can I resize according to screen size?
Re: size of stack
Posted: Tue Nov 17, 2015 1:04 am
by quailcreek
Look over the link I posted above.
Re: size of stack
Posted: Tue Nov 17, 2015 1:10 am
by aliyehia
I go through it when I build application for mobile.
I do not find answer of my question.
I resize the stack now to 320 x 480.
It is small for some sets.
What do I do?
Re: size of stack
Posted: Wed Nov 18, 2015 1:43 pm
by aliyehia
on mobile the stack without code in on preOpenStack appears like that
with conde
on preOpenStack
set the fullScreenmode of me to "exactFit"
end preOpenStack
It is appeared like that

- Screenshot_٢٠١٥-١١-١٨-١٣-٤٢-٢٣ (1).png (5.76 KiB) Viewed 5232 times