PDA

View Full Version : Set different size of widgets in Horizontal Layout



Dilshad
14th February 2012, 09:33
Hi,
I have a horizontal layout. The layout contains a Listview and a TableWidget. When I maximize the main window both the widgets resize.
I need the Listview size to be constant, I mean it should just increase in length but not in width. I want the TableWidget to have maximum space. Can this be done?
I know this is a basic question, but I cannot seem to solve it.
Your help is appreciated.
Thanks in advance.

KillGabio
14th February 2012, 14:13
SizePolicy = Fixed....Or set the geometry yourself