[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] shade sorted column in KListView
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2004-12-07 20:06:42
Message-ID: 200412072106.42321.neundorf () kde ! org
[Download RAW message or body]

On Tuesday 07 December 2004 19:22, Martin Koller wrote:
> On Tuesday 07 December 2004 18:42, Alexander Neundorf wrote:
...
> I don't think this is a good idea, since then you end up with a column,
> which doesn't have the alternating background anymore.
> It simply doesn't look as good.
>
> See attachment klist-alternatebg compared to the dark() version.
>
> I'm in favor of some algorithm, which does calculate a good shading color -
> have to play with that a little bit. Or does anyone have a good idea?

Ok, how about this:

if the alternating color is darker than the background color, make the sort 
color slightly darker.
If the alternating color is lighter than the background color, make the sort 
color slightly lighter.

Bye
Alex
-- 
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org                - http://www.kde.org
      alex@neundorf.net               - http://www.neundorf.net
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic