[Panel-devel] panel settings

Aaron J. Seigo aseigo at kde.org
Thu Dec 13 20:38:14 CET 2007


On Thursday 13 December 2007, Petri Damstén wrote:
> Is anyone doing the panel settings

not as a dialog, no.

> and what is going to be configurable? 
> - Screen
> - Position
> - Size
> - Hiding

yes to all of these. the question is how to offer access to them. i'd like to 
avoid a dialog, as it gets really messy really fast.

> - Align (top/left|centered|right/bottom)
> - Length %

this is an issue i've thought about quite a bit. alignment + % is how we did 
it with kicker, but i'm not really convinced that makes sense, especially we 
want to allow people to have multiple panels on the same side. with three 
alignments your are limited to 3 panels side by side. putting panels on 
adjacent edges also causes problems as there is then no way to avoid them 
overlapping without a bunch of configuration work (and even then it's pretty 
spotty). it also seems a bit ... artificial in general.

i think what we want is an anchor point from which growth happens in both 
directions out to a defined limit, maximum being the extent of the screen.

so one can have a center-positioned panel that grows out to 48px from the 
right left and 0px from the right so there is room for that panel on the 
left.... as one example.

this is also why % is probably not what we want either, as it makes it 
impossible to guarantee pixel precision; on the other hand, pixel based 
measurements can be used to accurately represent any given %. when screen 
sizes change, however, then some bounds checks need to happen.

make sense? or was that clear as mud? =)

> - Custom background SVG

part of Plasma::Theme ... the theming is now much more flexible, but that 
makes the Svg a bit more complex. in any case, what we really want here is a 
way to customize Plasma::Theme, not so much specific SVGs like this.

-- 
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: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071213/ab212b2e/attachment-0001.pgp 


More information about the Panel-devel mailing list