[Panel-devel] New panel background

Robert Knight robertknight at gmail.com
Fri Nov 9 19:21:09 CET 2007


> we probably don't need to replace one temporary solution with another.

My email wasn't about how the background should be painted, but what
the background should look like.

I don't think the generic widget background would be appropriate since
it has large transparent edges which rely on having something
underneath to show through.

Regards,
Robert.

On 09/11/2007, Aaron J. Seigo <aseigo at kde.org> wrote:
> On Friday 09 November 2007, Robert Knight wrote:
> > Attached is a very simple option which just replaces the funny
> > gradient background with plain black.  It is not very creative but I
>
> we probably don't need to replace one temporary solution with another.
> what's
> needed is for the panel containment to do proper background painting as per
> the FIXME in plasma/containments/panel.cpp =)
>
> it should probably work a lot like the background painting in applets, with
> border, corner and content pieces that get painted. we won't get away with
> just one svg that gets stretched out.
>
> the good news is that one can probably just copy
> Applet::Private::paintBackground directly into PanelContainment and then
> edit
> it so that it doesn't paint the edges that are flush with the screen edge.
>
> then one could simply copy widgets/background.svg to
> widgets/panel-background.svg and be done.
>
> /me heads off to hack.
>
> --
> 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
>


More information about the Panel-devel mailing list