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
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