scaling feature and Geometry manager

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
keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

scaling feature and Geometry manager

Post by keram » Wed Apr 02, 2014 4:44 am

Hi,

When using the automatic scaling feature, do I have to use the Geometry as well, at the same time?
Or does the new scaling replace the Geometry?

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: scaling feature and Geometry manager

Post by Klaus » Wed Apr 02, 2014 1:24 pm

Hi keram,

the GM has nothing to do with the new scaling feature!

"automatic scaling" (scalefactor etc.) will scale the complete stack including its content.
The "Geometry Manager", which I never used so far, does something else :D


Best

Klaus

keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

Re: scaling feature and Geometry manager

Post by keram » Wed Apr 02, 2014 5:15 pm

Hi Klaus,
Klaus wrote:the GM has nothing to do with the new scaling feature!
Not directly, but if you read in the User manual:
"4.4 Using the Geometry Manager (page 115)
Use the Geometry Manager to specify how objects should be scaled
and positioned when the user resizes the window ...
Choose whether you want the control to be scaled or positioned
when the stack is resized. Scaling will change the dimensions of the
control as the stack resizes..."

So it does some scaling and that's why I was wandering if GM is obsolete when using the new scaling feature which also is resizing the stack.

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: scaling feature and Geometry manager

Post by sefrojones » Thu Apr 03, 2014 3:00 am

I used fullscreenmode = "exactfit" in my (android)app without using the Geometry Manager at all. It seems to scale well, at least so far.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: scaling feature and Geometry manager

Post by Klaus » Thu Apr 03, 2014 10:15 am

Sure, both features do some SCALING 8)

But the GM is a scripted library and the new "stack (sic!) scaling feature" is build into the engine.

Post Reply