size of stack

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

size of stack

Post by aliyehia » Tue Nov 17, 2015 12:08 am

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?

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: size of stack

Post by quailcreek » Tue Nov 17, 2015 12:17 am

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.
Tom
MacBook Pro OS Mojave 10.14

aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Re: size of stack

Post by aliyehia » Tue Nov 17, 2015 12:40 am

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

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: size of stack

Post by quailcreek » Tue Nov 17, 2015 12:57 am

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
Tom
MacBook Pro OS Mojave 10.14

aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Re: size of stack

Post by aliyehia » Tue Nov 17, 2015 1:01 am

ok,

What's the suitable size for mobiles with different sizes, Ipad and Tablet?
How can I resize according to screen size?

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: size of stack

Post by quailcreek » Tue Nov 17, 2015 1:04 am

Look over the link I posted above.
Tom
MacBook Pro OS Mojave 10.14

aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Re: size of stack

Post by aliyehia » Tue Nov 17, 2015 1:10 am

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?

aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Re: size of stack

Post by aliyehia » Wed Nov 18, 2015 1:43 pm

on mobile the stack without code in on preOpenStack appears like that
Screenshot_٢٠١٥-١١-١٨-١٣-٣٦-٣١.png
with conde


on preOpenStack


set the fullScreenmode of me to "exactFit"
end preOpenStack

It is appeared like that
Screenshot_٢٠١٥-١١-١٨-١٣-٤٢-٢٣ (1).png
Screenshot_٢٠١٥-١١-١٨-١٣-٤٢-٢٣ (1).png (5.76 KiB) Viewed 5220 times

Post Reply