Re: the rect property of a card

Scott Raney ((no email))
Thu, 28 Apr 94 10:31:31 MDT

>
> Setting the rect property of a card to t1,t2,b1,b2 does not change the size of the window.
>
> set the rect of this card to 0,0,320,240
> set the rect to... isn't recognized
> set the rect of card window to... isn't recognized
>
> What am I missing?

You need to set the rect of the stack, not the card.

Also keep in mind that setting the rect of the stack may or may not
work, depending on what the window manager decides to do with the
request. Usually the size request will be honored, but the position
will be mangled and so you'll probably have to try some different
things to get your stack positioned the way you want it.
Unfortunately there is no portable way to make this work.

Scott

> Olov Bergqvist
> Ericsson Infocom Consultants AB

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************