Hi Thomas, see in TRootCanvas.cxx the method TRootCanvas::HandleContainerConfigure(). Here you'll find how to handle mainting the aspect ratio of a frame. Cheers, Fons. On Wed, 2003-04-30 at 11:08, Thomas Bretz wrote: > Dear all, > > if I want to fix the aspect ratio of a TGMainFrame (means if a user > changes the height, the width is automatically changed) what function(s) > do I have to overwrite? I tried several things but failed... > > Thanks in advance, > Thomas. -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET