setMinimumSize and resize

Aaron J. Seigo aseigo at kde.org
Sat May 31 22:43:04 CEST 2008


On Friday 30 May 2008, Petri Damstén wrote:
> If I do setMinimumSize and applet is smaller than minimum size set applet
> is resized but background svg is not (Seems that geometry.size() ==
> beforeGeom.size() in setGeometry). This can be easily solved by calling
> resize first but maybe applet should take care of this?

this actually sounds like a bug in QGraphicsLayoutItem if it is indeed true.

but have you actually put debug output into Applet::setGeometry to ensure that 
it is getting called? i took a quick glance through QGraphicsLayoutItem and i 
wonder if setGeometry isn't getting called at all in this case.

-- 
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 Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080531/c0fcec5b/attachment.pgp 


More information about the Panel-devel mailing list