Re: [ROOT] resizing TGCompositeFrame

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Mon Oct 27 2003 - 11:25:17 MET


 Hi Lukasz Slusarczyk,
width and height of TGCompositeFrame are calculated "dynamically"
according to associated layout-manager and layout hints.
Setting width/height is forced by calling Resize method. Initial values
passed in constructor have no meaning (correct me, plz)
AFAIK that was documented in the latest ROOT UserGuide.
If you have idea for improvment of the current scheeme, let us know.

Regards. Valeriy

> I have one TGTransientFrame in which there are two TGCompositeFrames and
> one of them consists of two another TGCompositeFrames. Whats the meaning
> of width and height parameters which I'm giving to constructors of these
> CompositeFrames? What's the meaning of Resize()  method? Becouse
> independly of what UInts I put in, the windows behave the way they want
> and nothing changes. Does anybody know where to find documentation about
> giving appropriate size to the TGCompositeFrames or does anybody know what
> can be wrong in such a situations?
> 
>   thanks for every advice
> 
> -- 
> Lukasz Slusarczyk
>  http://rainbow.mimuw.edu.pl/~lucasso/
>  http://508.ds2.uw.edu.pl
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET