Hi Brett, this is not possible and will probably never possible since it would require the implementation of a layout engine for TCanvas. What you may want to do is to use an embedded canvas in a mainframe and use a TGScrollBar or TGDoubleSlider as slider. Cheers, Fons. Brett Viren wrote: > > Hi, > > I would like to add a (say, horizontal) TSlider into a TCanvas such > that only its width is resized with the TCanvas (ie, like usual) but > its height is constant (and vice versa for a vertical TSlider). Any > other neighboring TPads or other objects should fill up the space not > taken up by the lack of resizing in that one direction. > > I guess, in other words, I want something like TGTableLayout > functionality for TCanvas items. > > Is such a thing currently possible? If not, how difficult to add it? > > -Brett. -- 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 : Tue Jan 01 2002 - 17:50:58 MET