[Qt-creator] Problems with Dockwidgets

Ken Ray ken at ishere.com
Wed Jan 20 22:50:38 CET 2010


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 <E8D9657A-0FB0-4D6C-9F59-7A9BAD3393AF at ishere.com>,
> Ken Ray <ken at ishere.com> 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
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator





More information about the Qt-creator-old mailing list