[ROOT] Problems with TGHorizontalFrame

From: Thomas Gotz (Thomas.Gotz@cern.ch)
Date: Thu Sep 14 2000 - 15:48:35 MEST


Hey rooters

My aim is to create a TGMainFrame with the following contents:

First of all there has to be a Menubar at the top of the window. This is
already done by me.
At the bottom there has to be a horizontal Textbutton, for which I also
used the TG LayoutHints in order to expand it to the entire width of the
window.

The space in between has to be filled with a set of Textbuttons, which
has to be ordered in the following way:

In each line there has to appear a certain number of textbuttons, which
I added to a TGHorizontalFrame.
This I did for each line, until all of the Textbuttons are done.
After filling one HorizontalFrame I added this guy to the TGMainFrame
within the AddFrame() member function.

The problem is right now, that all the TGHorizontalFrames are superposed
with the MenuBar.
How can I force these Horizontalframes to occur one by one starting
under the MenuBar.

Thanks a lot for your help

Thomas



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET