PDA

View Full Version : How to make QWidget (inside a layout) grow or shrink?



zgulser
16th May 2012, 10:13
Hi,

I've the following test ui. I need to make the QWidget(widget_3) at the left side with brown bordered grow or shrink when I resize the overall ui.

Although I set it's size policies both to "Expanding", the widget's size remains same when I resize the ui.

If I put a label bigger into this widget whose size is bigger than it, will it grow?

Thanks in advance.

Santosh Reddy
17th May 2012, 07:50
You have set the minimumSize & MaximumSize properties, Just reset them to defaults. Refer the attachment