set the width of this stack to the width of theCenteredControl

Alex.
P.S. because the central control is centered, you want to make symmetric changes to the left and right of the stack - and so simply setting the width will do that while leaving the horizontal position of it unchanged. Obviously, before you do that, store away the 'current' width so you can restore it later.

On 27/06/2015 19:55, Peter Haworth 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 stack.

I want to change the dimensions of the stack so that it's left edge is at
the left of the centered control and its right edge is at the right of the
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 out
how to do this.

References to the left of a  stack are relative to the edge of the screen
so they move the position of the stack on the screen and don't change its
width.

I'm probably missing something obvious and hoping that someone will point
it out to me.

Pete
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to