Review Request: tooltip(and those who uses svgpanel): update margin sizes on theme changes

Marco Martin notmart at gmail.com
Fri Feb 8 19:03:36 CET 2008


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://matt.rogers.name/r/94/
-----------------------------------------------------------

Review request for Plasma.


Summary
-------

with this patch setContentsMargins() is called every time the theme changes, because the new svg could have different margins.
at the moment it is in resetpalette(), if it's ok doing that i think that function should be renamed something like themeChanged()
and i think it should be done pretty much on everything that uses a svg background.


Diffs
-----

  /trunk/KDE/kdebase/workspace/libs/plasma/widgets/tooltip.cpp

Diff: http://matt.rogers.name/r/94/diff


Testing
-------


Thanks,

Marco



More information about the Panel-devel mailing list