Changing the width of a stack

Scott Rossi scott at
Sat Jun 27 15:14:40 EDT 2015

What Devin said.  And it sounds like you'll want to set the rect of the
stack to the new dimensions so you can make the change in a single pass,
rather than changing width/loc properties separately.


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 6/27/15, 12:08 PM, "Devin Asay" <devin_asay at> wrote:

>I'm away from my compy so I can't check the dictionary, but I think what
>you need is the global loc of the control.
>Sent from my iPhone
>> On Jun 27, 2015, at 2:55 PM, Peter Haworth <pete at> wrote:
>> I have a stack with three controls on it, one at the left edge of the
>> stack, one centered horizontally, and one at the right edge of the
>> I want to change the dimensions of the stack so that it's left edge is
>> the left of the centered control and its right edge is at the right of
>> centered control. And also change its dimensions back to the original
>> settings when necessary.
>> As I have a graphically challenged brain, I have been unable to figure
>> how to do this.
>> References to the left of a  stack are relative to the edge of the
>> so they move the position of the stack on the screen and don't change
>> width.
>> I'm probably missing something obvious and hoping that someone will
>> it out to me.
>> Pete
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at
>> Please visit this url to subscribe, unsubscribe and manage your
>>subscription preferences:
>use-livecode mailing list
>use-livecode at
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the Use-livecode mailing list