[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Theme-able background of the documents (canvas border)
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-08-31 7:36:08
Message-ID: 201008310936.08089.boud () valdyas ! org
[Download RAW message or body]
On Tuesday 31 August 2010, Thomas Zander wrote:
> On Tuesday 31. August 2010 01.02.46 LukasT.dev@gmail.com wrote:
> > > > Do you think it should be theme-able?
> > >
> > >
> > >
> > > Why do you think its Qt::gray? In the code we do a;
> > >
> > > setBackgroundRole(QPalette::Dark);
> > >
> > > which means its themable already. Just edit the palette.
> >
> > It is not true for every type of canvas we have.
> > E.g. there is Infinite type of canvas used in Krita or Karbon and there you
> > implement the border yourself -- In Karbon there is no border, in Krita
> > there is artifical border, but it is part of the canvas anyway.
>
> Aha, makes sense :)
> The answer to your question is then to use the setBackgroundRole we already use
> in flake for those other places too.
> If nothing else it would be nice and consistent.
>
> Would that solve your issue?
>
For Krita, not really, since as Adam has explained, users might want to set the \
canvas border to a color that harmonizes with the color scheme of their painting. \
Though the default should follow the palette role, not be hardcoded to gray, of \
course.
--
Boudewijn Rempt | http://www.valdyas.org
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic