[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:       "LukasT.dev () gmail ! com" <lukast ! dev () gmail ! com>
Date:       2010-08-30 23:02:46
Message-ID: 201008310102.46678.LukasT.dev () gmail ! com
[Download RAW message or body]

On Monday 30 August 2010 22:13:09 Thomas Zander wrote:
> On Monday 30. August 2010 20.08.33 LukasT.dev@gmail.com wrote:
> > Hi,
> > 
> > somebody [1] mentioned on my blog concern regarding of the backgrounds of
> > the documents in KOffice etc. E.g. in Krita we have custom option to
> > setup color of the canvas border. We added the option because our users
> > use Krita in GNOME with dark theme and the canvas border was shining too
> > much for them (it was Qt::gray).
> > 
> > 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.
_______________________________________________
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