[Panel-devel] RFC: standard background
Robert Knight
robertknight at gmail.com
Mon Nov 5 01:38:06 CET 2007
> i also think the default background needs a slightly thinner border =) i'll
> talk to the artists about that.
I'll second that.
Regards,
Robert.
On 04/11/2007, Aaron J. Seigo <aseigo at kde.org> wrote:
> hi...
>
> so many applets have this code in them:
>
> void MyApplet::constraintsUpdated(Plasma::Constraints)
> {
> if (formFactor() == Plasma::Vertical ||
> formFactor() == Plasma::Horizontal) {
> setDrawStandardBackground(false);
> } else {
> setDrawStandardBackground(true);
> }
>
> we already disable the background now on panels automagically. i'm thinking we
> should just go the extra step turn it on/off for the applets before
> contraintsUpdated is called ..... and then applets that don't want the
> standard background can just call setDrawStandardBackground(false);
>
> far less code dupe and the exact same resulting effect.
>
> i also think the default background needs a slightly thinner border =) i'll
> talk to the artists about that.
>
> thoughts?
>
> --
> 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
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>
More information about the Panel-devel
mailing list