From kde-bugs-dist Mon May 31 23:45:26 2004 From: Sebastien Date: Mon, 31 May 2004 23:45:26 +0000 To: kde-bugs-dist Subject: [Bug 82611] New: KSqueezedTextLabel : a method to set "abc...xyz" Message-Id: <20040531234526.1877.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=108604713109732 ------- 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=82611 Summary: KSqueezedTextLabel : a method to set "abc...xyz" OR "abcdef..." or "...uvwxzy" Product: kdelibs Version: unspecified Platform: Mandrake RPMs OS/Version: Linux Status: NEW Severity: wishlist Priority: NOR Component: general AssignedTo: coolo kde org ReportedBy: sebastien.laout tuxfamily org 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.