Resize Windows and objects

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
Vincent
Posts: 13
Joined: Wed Mar 18, 2009 5:33 pm

Resize Windows and objects

Post by Vincent » Mon Nov 23, 2009 11:06 am

Hi,

I'm a Runrev new user... I would like that my windows and the objects inside (fields, buttons, etc...) are horizontally and vertically resizable...

I hope someone will help me,
Thanks in advance,

Vincent.

hliljegren
Posts: 111
Joined: Sun Aug 23, 2009 7:48 am
Contact:

Re: Resize Windows and objects

Post by hliljegren » Mon Nov 23, 2009 1:31 pm

I think you should take a look at the geometry tab in the property inspector. You can also use the message resizeStack if you need to resize "by hand" (i.e. by code).

Code: Select all

on resizeStack newWidth, newHeight
   # Resize all controls according to new stack size
end resizeControl
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Resize Windows and objects

Post by SparkOut » Mon Nov 23, 2009 2:10 pm

http://www.runrev.com/developers/lesson ... y-manager/ will give you some help on the Geometry Manager. This same tutorial can also be found by clicking the Resource Center icon in the RunRev menu bar in the IDE, and looking in the Tutorials section under "General".

There used to be a handy video tutorial on the RunRev website, but I've lost it since the content changed relating to support materials, about version 3.0 (although some were/are still accessible if you know the direct url) but what with the recent changes I can't find this one.

Chipp Walters has a set of video tutorials on his website: http://www.altuit.com/webs/altuit2/RunR ... orials.htm

Be aware though, while I personally do use the Geometry Manager quite a lot, for things I know it can definitely do, it is not, er... terribly "robust" and many of the experienced RunRev users avoid it completely and handle their own resizing of controls in the way described above by hliljegren.

Vincent
Posts: 13
Joined: Wed Mar 18, 2009 5:33 pm

Re: Resize Windows and objects

Post by Vincent » Wed Nov 25, 2009 4:37 pm

Thanks for your help.

I managed to do what I wanted using "geometry" properties.


Best regards,
Vincent.

Post Reply