[PATCH] panel placement at the center (or whatever) of the screen
Marco Martin
notmart at gmail.com
Wed Apr 2 22:39:06 CEST 2008
On Tuesday 01 April 2008, Aaron J. Seigo wrote:
> On Tuesday 01 April 2008, Marco Martin wrote:
> > here it's an early patch to panelview, posting now only to hear if i'm on
> > the right track.
> > the config of the view is saved in plasmarc under [Views] it still uses
> > the id of the panel to differentiate between the various panels.
>
> cool; btw, classes not in lbiplasma don't need to use dptrs ... they have
> no need for BC.
>
> as for altering the containment to get edges shown, yes, there will need to
> be some interaction between view/containment there. perhaps some simple but
> minimal shifting of the containment
well, i feel a little dumb but it's gotta be waay more tricky than i tought :(
now it kinda works, even if i still have not thoroughly tested it (especially
other alignments)
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...
Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_moving2.diff
Type: text/x-diff
Size: 9756 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080402/8bdebe69/attachment-0001.bin
More information about the Panel-devel
mailing list