[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:       Thomas Zander <zander () kde ! org>
Date:       2010-08-31 7:14:03
Message-ID: 201008310914.03412.zander () kde ! org
[Download RAW message or body]

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?
-- 
Thomas Zander
_______________________________________________
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