resizing applets

Aaron J. Seigo aseigo at kde.org
Tue Nov 11 21:49:50 CET 2008


On Tuesday 11 November 2008, Oszkar Ambrus wrote:
> Is there a clean way to implement applet resizing? Or should I do what
> you have done in PositioningRuler (implementing the mouse events)?

you'll need to implement mouse events, yes.

> And another one: if I have large text blocks in labels, it flows outside
> of the applet boundaries. Any suggestions on how to fix this?

wait for Qt upgrades; Alexis has been working on making layouts propagate size 
hints properly.

between now and then, you have to update the geometry or invalidate the layout 
manually when the text changes. yes, this sucks.

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

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


More information about the Plasma-devel mailing list