Can cards in a stack be of different sizes

Wilhelm Sanke sanke at hrz.uni-kassel.de
Sun Nov 2 17:46:13 EST 2003


On Sun, 2 Nov 2003 Alex Rice <alex at mindlube.com wrote:


> On Nov 2, 2003, at 11:47 AM, Russell wrote:
>
> > Hello people
> >
> > Can cards in a stack be of different sizes
>
> Nope
>
> (snip)
>
> Alex Rice
>
Sure, they can:

Have a look at the Glossary stack. All cards have different sizes.

In the preopencard handler you may find  some hints:

 " -- set the height of the card to the total needed height

  put the top of this stack into savedTop
  set the height of this window to the formattedHeight of this card
  set the height of graphic "Border" to the formattedHeight of this card

  set the top of graphic "Border" to zero
  set the top of this stack to savedTop"

Regards,

Wilhelm Sanke




More information about the use-livecode mailing list