Different Sized Cards?

Wilhelm Sanke sanke at hrz.uni-kassel.de
Sat May 11 12:57:01 EDT 2002


On Fri, 10 May 2002 Rick Harrison <harrison at all-auctions.com> wrote


> Hi there,
>
> Is it possible to have different sized cards in the
> same stack?
>
> Example Card 1:  Size 200 x 400 pixels.
>
>         Card 2:  Size 300 x 320 pixels.
>
> Thanks in advance!
>
> Rick Harrison
>
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