Bug in Plasma.ScrollWidget or Bug in my head ?
Aaron J. Seigo
aseigo at kde.org
Mon Mar 1 22:26:37 CET 2010
On March 1, 2010, Marco Martin wrote:
> On Monday 01 March 2010, Aaron J. Seigo wrote:
> > On March 1, 2010, Cédric Bellegarde wrote:
> > > When adding a QGraphicsWidget + QGraphicsGridLayout in a ScrollWidget,
> > > then
> >
> > > layout don't get good information about it size:
> > looking at Plasma::ScrollWidget, it doesn't do any size management of the
> > item inside of it.
> >
> > perhaps ScrollWidget should ensure the contained widget is at least as
> > large as it is? Marco?
>
> the relations between the sizes of the scrollwidget and the contained one
> are:
>
> -if the horizontal/vertical sizepolicy of the contained widget is
> expanding, scrollwidget will resize the contained widget with the own
> size.
> -the sizehints of the contaned widget are propagated to the scrollwidget
ah, so the widget needs to be made expandable. it's even in the apidox, so
huzzah for that.
looks like i'll need to add support for sizepolicy setting on qgraphicswidget
as well since those aren't in the properties for it :/
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
More information about the Plasma-devel
mailing list