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

List:       kde-bugs-dist
Subject:    [Bug 137055] phase style; poor color choice for trees in tree view
From:       Matthew Woehlke <mwoehlke () tibco ! com>
Date:       2006-11-08 19:34:07
Message-ID: 20061108193407.30222.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=137055         




------- Additional Comments From mwoehlke tibco com  2006-11-08 20:34 -------
Here is a patch demonstrating one possible way to fix this (consistent with many \
styles, but arguably not the 'softer' phase look):

--- styles/phase/phasestyle.cpp     2006-03-17 04:08:45.000000000 -0600
+++ styles/phase/phasestyle-new.cpp 2006-11-08 13:31:26.331437437 -0600
 @ -1061,7 +1061,7  @
           break;

       case KPE_ListViewExpander:
-          painter->setPen(group.mid());
+          painter->setPen(group.text());
           if (flags & Style_On) {
               painter->drawPixmap(x+w/2-4, y+h/2-4, rexpand);
           } else {
 @ -1070,7 +1070,7  @
           break;

       case KPE_ListViewBranch:
-          painter->setPen(group.mid());
+          painter->setPen(group.text());
           if (flags & Style_Horizontal) {
               painter->drawLine(x, cy, x2, cy);
           } else {


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

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