Automatic object resizing on card changes

John Brozycki johnb at hvc.rr.com
Thu Nov 3 13:46:36 EDT 2011


Hello,

Given a resizable stack with, say, two cards that both have objects that have their geometry set to scale on resize (like a text field) what is the best way to get objects on card 2 to automatically resize when card one is resized and then a button is selected to go to card 2?  It doesn't do this automatically- you have to resize the second card.  Make the second card much larger than the first was, and when you go back the objects on the first card are all off.  With each card, you have to manually resize for the objects to adjust properly.  Shouldn't this happen automatically when you configure the geometry settings?  I've tried using revWChangeWindowSize on my button to the next card, but it doesn't appear to do anything for object sizing.  Sorry if this is a basic question, but I can't find how to do this.

Much thanks,
John





More information about the use-livecode mailing list