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

List:       kde-pim
Subject:    Re: [Kde-pim] [PATCH] KOrganizer: squeezing text in monthview, 2nd
From:       Tim Jansen <ml () tjansen ! de>
Date:       2003-07-10 18:47:54
[Download RAW message or body]

On Thursday 10 July 2003 20:36, Mark Bucciarelli wrote:
> > Didn't know this class, but it does not help as it only implements
> > the dots solution.
> why not replace that with your fade to grey?
> it's a cool solution that could be used all over the place.

Not possible with the current API. The class has two functions:
- return the longest possible string that fits into a single line (optionally 
with the three dots). You need to paint it yourself then
- let KWordWrap paint the text into a rectangle (multi-line)

But now that I realize that the three dots in KWordWrap::truncateString() are 
optional, I can use it :)

bye...

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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