Changiing the height of a stack
Scott Rossi
scott at tactilemedia.com
Fri Jan 21 17:13:28 EST 2011
Recently, Peter Haworth wrote:
> I want to change the height of a stack. No problem changing the height
> property but that causes both the top and the bottom of the stack to change
> positions and I want the top of the stack to stay where it is and all the
> height change to be added to the bottom. The dictionary says the locklocation
> property does that but then I find that isn't available for a stack. I see a
> locklocation check box in the property inspector for the card, but it's greyed
> out.
Via script:
Put the rect of the stack into a variable, adjust the value of the 4th item
as needed, set the rect of your stack to the variable.
Maybe somebody else knows a built-in way.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
More information about the use-livecode
mailing list