[Qt-creator] Problems with Dockwidgets

Stephen Chu stephen at ju-ju.com
Wed Jan 20 22:33:39 CET 2010


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



More information about the Qt-creator-old mailing list