[Qt-interest] Fwd: problem....dockWidgets changing size automatically...

Sean Harmer sean.harmer at maps-technology.com
Thu Jan 21 09:52:16 CET 2010


Hi,

On Wednesday 20 January 2010 23:05:18 Ken Ray wrote:
> > I have a thread here that was started on qt-creator list, and was
> > directed to send it to qt-interest.

I have noticed this behaviour in some KDE applications that make extensive use 
of dock-widgets since I upgraded to Qt 4.6.0. In particular k3b and amarok 
have this issue. I have not had a chance to investigate the cause or upgrade 
to Qt 4.6.1 to see if that resolves the issue. Sounds like it could be the 
same problem though.

Sean

> >
> > Ken
> >
> >
> > Hi Ken,
> >
> > so if this also happens in the external designer, then you might want
> > to switch this discussion over to qt-interest if you consider this to
> > be a Qt defect :-)
> >
> > /Thomas
> >
> > 2010/1/20 Ken Ray <ken at ishere.com>:
> >> Not true. I just tried it in the external Designer. I changed the size
> >> of the dockWidget to 250. Then simply clicked on another widget.. a
> >> textEdit. The dockWidget immediately resized itself automatically.
> >>
> >> On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:
> >>> That's Designer, which happens to be embedded in Creator. The only way
> >>> this is directly Creator-related is if it doesn't happen when using
> >>> the external Designer.
> >>>
> >>> /s/ Adam
> >>>
> >>> On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray <ken at ishere.com> wrote:
> >>>> This is directly related to Creator. I'm building the layout of the
> >>>> form using Creator, and Creator is not saving my changes.
> >>>>
> >>>> On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:
> >>>>> This question should be directed toward the qt-interest mailing list.
> >>>>> The qt-creator ML is specifically for discussion about the Qt Creator
> >>>>> IDE, not for programs you're writing using it.
> >>>>>
> >>>>> /s/ Adam
> >>>>>
> >>>>> On Wed, Jan 20, 2010 at 2:58 PM, 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 ?
> >>>>>>
> >>>>>> 2) I changed the size of the dockWidget to a certain width, with
> >>>>>> policy being preferred, preferred.  This is all done in Creator
> >>>>>> 1.3.1 .  I then opened a source file and then went bak to the ui
> >>>>>> view. The dockWidget had reset it's size back to it's original size.
> >>>>>> There doesn't seem to be anything I can do to keep it from auto
> >>>>>> resizing itself. Is this a bug ?  Is there a way to fix this problem
> >>>>>> ?
> 



More information about the Qt-interest-old mailing list