PDA

View Full Version : qdesinger and docked widgets



GrahamLabdon
28th February 2011, 15:27
Hi
I have an application main window and in designer I have added a docked widget. Inside the docked widget I added a QListWidget and added some items.
When I run the application the docked widget is very narrow and I cannot see the list unless I resize the docked window.

I thought that the docked window took its size from its contents.

I hand coded the same application and the docked widget appears with the correct size i.e. the size of the largest list item

Why is this?

Graham

ars
28th February 2011, 16:30
You may look at the minum size of the widgets inside your dock widget. Designer may have set it to 0.