Resizing a GUI


I built a GUI using root. Basically it is a TGMainFrame with lots of TGCompositeFrame, TGGroupFrame and TGLabel inside.

Now’s that I’ve done good work, I realized that my GUI window is too small. I would like to have a way to resize it easily without having to change all the parameters of each subframes manually. Like a loop on every subframe or a method already existing like “ResizeAllSubFrame” or “ResizeWindow”.

Is there any simple way ?
Thank you,


I don’t understand the problem. The layout manager should take care of this when you resize the main frame. If not, could you post your code (or a short running macro) reproducing the problem?

Cheers, Bertrand.