[patch] shade sorted column in KListView
Alexander Neundorf
neundorf at kde.org
Tue Dec 7 20:06:42 GMT 2004
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 at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org - http://www.kde.org
alex at neundorf.net - http://www.neundorf.net
More information about the kde-core-devel
mailing list