PDA

View Full Version : QLayout Problem



sivollu
2nd February 2010, 06:27
Hi,

I am using a QFrame which was set to a dockwidget. QFrame has a Vertical Layout. Inside that vertical Layout i added a horizontal layout. The problem is when i drag the dockwidget, the widgets in Vertical layout reacts according to the dockwidget size, where as horizontal layout widgets are setting to fixed size.

How to get the widgets in horizontal layout resizes according to the dockwidget size? and i have not used setFixedSize() function to my widgets. Please give me an idea to proceed further.



Regards,
Siva Rama krishna.