Bug 82611 - KSqueezedTextLabel : a method to set "abc...xyz" OR "abcdef..." or "...uvwxzy"
Summary: KSqueezedTextLabel : a method to set "abc...xyz" OR "abcdef..." or "...uvwxzy"
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 3.2
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 01:45 UTC by Sebastien
Modified: 2008-03-02 22:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien 2004-06-01 01:45:24 UTC
Version:            (using KDE KDE 3.2.1KDE 1.2)
Installed from:    Mandrake RPMsMandrake RPMs

Hello,

KSqueezedTextLabel is a good widget.

But cutting texts on the middle can be very uggly !!!
And sometimes unwanted.

For example because the begin of the text is more important : text should be cutted on the end.
Actually, it is cutted on the middle, that make the text unreadable (we have a small begin, and a small end... we cannot see what it say).

I also envisage cutting at begin could be usefull if the end of a text is more important.

So, KSqueezedTextLabel should have a method to set where to cut
- "...uvwxzy" : setWhereToCut(KSqueezedTextLabel::AtBegin);
- "abc...xyz" : setWhereToCut(KSqueezedTextLabel::AtMiddle);
- "abcdef..." : setWhereToCut(KSqueezedTextLabel::AtEnd);

With KSqueezedTextLabel::AtMiddle by default.
And eventually an optionnal constructor parameter for that (one liner).

I know feature freeze is near but I imagine the change could take less than one hour...



Unrelated note : I cannot select KDE 3.2.0 (only 3.2.1 and greater) in bugzilla !!!
It's exagerous : every users don't want to install all versions of KDE.
I don't want to take time to install minor releases (moreover if KDE 3.3 will be out if few months) !

Thank you.
Comment 1 Nicolas Goutte 2006-02-25 23:08:02 UTC
Still the case...
Comment 2 Urs Wolfer 2008-03-02 22:58:26 UTC
Fixed for a long time already.