[PATCH] panel placement at the center (or whatever) of the screen

Marco Martin notmart at gmail.com
Thu Apr 3 14:55:41 CEST 2008


On Wednesday 02 April 2008, Marco Martin wrote:
> the real problem now is that when i set the geometry of the containment for
> the first time it doesn't seem to work (does it need a fully constructed
> view to work?) so the left border is not set, and is set only when i
> manually change the geometry of the panel.
> also when i change the containment geometry in updatePanelGeometry it
> triggers updatePanelGeometry again another time, it feels a little bleach,
> but don't know how to do it otherwise...

Cleaned up a little bit, bit more robust and works with different alignments.
there is still the problem that the svg panel doesn't load the right borders 
the first time is starts :(

Cheers,
Marco Martin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_moving3.diff
Type: text/x-diff
Size: 10829 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080403/439d1b27/attachment-0001.bin 


More information about the Panel-devel mailing list