resizing window via card properties

Terry Vogelaar terry at discovery.nl
Fri Feb 22 23:32:00 EST 2002


> I cannot figure out how to resize a window via the card properties, the
> width/height settings there are not focused (active), and therefore cannot be
> adjusted.  I can adjust the window size from the stack-properties, but that
> sizes all the cards/windows.  I want to be able to size each card/window
> separately.
> 
> Isn't each card a window?  I am confused.

Not each card is a window, but each stack is a window. So you can do two
things:
- Make a substack for each card with another size.
- Write a preOpenCard handler in each card script that resizes the stack
  to the proper dimensions.

Which of the two is best depends on your project.

Terry





More information about the Use-livecode mailing list