Adjusting the size of cards in a stack
Trevor DeVore
lists at mangomultimedia.com
Mon Jul 7 21:03:11 EDT 2014
On Monday, July 7, 2014, Peter Haworth <pete at lcsql.com> wrote:
> I have a stack with two cards in it each of which is a different size.
> I've been trying to adjust the size of each card in preOpenCard handlers
> without affecting the card's previous display location.
Just adjust the stack rect.
Put the rect of this stack into theRect
Put item 1 of theRect + theCardWidth into item 3 of theRect
Put item 2 of theRect + theCardHeight into item 4 of theRect
Set the rect of this stack to theRect
--
Trevor DeVore
More information about the use-livecode
mailing list