PDA

View Full Version : auto expanding widgets



bpetty
6th January 2007, 01:21
I am using the designer and I can not figure out for the life of me how to make widgets "auto expandable".

I have a Group Box at the top that I want to keep a static size, but then I have a Table Widget under it that I want to expand as the MainWindow grows. Is there a graphical way to do this through designer? I tried messing with size policies... but no luck. Layouts led me no where either. :(

wysota
6th January 2007, 08:57
Set a fixed vertical size policy for the groupbox and expaning for TableWidget. Remember to apply a layout to the top-level widget and the groupbox.