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

List:       kde-commits
Subject:    branches/kdepim/enterprise/kdepim/korganizer
From:       Allen Winter <winter () kde ! org>
Date:       2010-10-12 14:13:24
Message-ID: 20101012141324.40E8EAC894 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1185196 by winterz:

Do not fade-out monthitem texts
- I like it with no fade-out better as you don't lose info
- No fade-out means that left- and right-arrow scrolling in the cell shows
  all the text -- else, we'd need to implement a repaint of each item's text.
fixes kolab/issue4637

BTW: in KOrganizer4 we use elided instead of fade-out and we don't allow
left- and right-arrow scrolling in the cell. I like the KOrganizer3 way better.

MERGE: trunk? (I'm not sure what we want in trunk)



 M  +5 -1      komonthview.cpp  


--- branches/kdepim/enterprise/kdepim/korganizer/komonthview.cpp #1185195:1185196
@@ -356,7 +356,11 @@
   QColor textColor = getTextColor( bgColor );
   p->setPen( textColor );
 
-  KWordWrap::drawFadeoutText( p, x, yPos, listBox()->width() - x, text() );
+  // For Kolab/issue4637 (right- and left-arrow scrolling screws with fadeout)
+  // let's simply draw the text normally, with no fade-out.
+  // Personally, I like without the fadeout better -Allen
+//  KWordWrap::drawFadeoutText( p, x, yPos, listBox()->width() - x, text() );
+  p->drawText( x, yPos, text() );
 }
 
 int MonthViewItem::height( const QListBox *lb ) const
[prev in list] [next in list] [prev in thread] [next in thread] 

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