Page 1 of 1

Resizing Stack

Posted: Thu Sep 16, 2010 2:59 am
by warrenk
I am trying to resize a text field when I resize a stack. Are there any good examples/tutorials on how to do this? I am not sure if I can just use the geometry property or have to program for this...or both. I have read the user manual and am really confused.

Thanks for any help!
Warren

Re: Resizing Stack

Posted: Thu Sep 16, 2010 6:01 am
by Janschenkel
Hi Warren,

Maybe these two blog posts of mine can help you write your own resizeStack and resizeControl handlers to move and resize things:
- BorderLayout example script http://blog.quartam.com/2010/07/borderl ... stack.html
- BorderLayout example - with resizing http://blog.quartam.com/2010/08/borderl ... izing.html

HTH,

Jan Schenkel.

Re: Resizing Stack

Posted: Thu Sep 16, 2010 3:25 pm
by shadowslash
warrenk wrote:I am trying to resize a text field when I resize a stack. Are there any good examples/tutorials on how to do this? I am not sure if I can just use the geometry property or have to program for this...or both. I have read the user manual and am really confused.

Thanks for any help!
Warren
Hmm I might not be right on this one but, yes, you can just use the Geometry Property. Image
In fact I made a video demo for you to see what I mean. You can view the video here: http://screencast.com/t/ZjgzNmU5Zm

If, however, you need to execute or add some scripts while resizing the stack, you can use the resizeStack message on the stack's script.
Image