From kde-core-devel Tue Dec 07 20:06:42 2004 From: Alexander Neundorf Date: Tue, 07 Dec 2004 20:06:42 +0000 To: kde-core-devel Subject: Re: [patch] shade sorted column in KListView Message-Id: <200412072106.42321.neundorf () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110245001127225 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