That worked thanks, Now what about the size changing on my dockWidget?  I 
change it to 150, originally at 78.. Go to another file, and back to the UI and 
it's back at 78 again.

thanks

On Jan 20, 2010, at 1:33 PM, Stephen Chu wrote:

> In article <[email protected]>,
> Ken Ray <[email protected]> wrote:
> 
>> Hey, I'm getting started with QT, so bear with me. I've been trying to work 
>> with a Dockwidget that has a treewidget inside of it. 
>> 
>> 1) I did a layout vertical layout on the dockWidgetContents and it caused 
>> the 
>> contained treeview to shrink in size (large borders), is there a way to 
>> avoid 
>> that behavior ?
>> 
> 
> Change the layout margins in your dockWidgetContents to smaller values.
> 
> -- 
> Stephen Chu
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to