[Konsole-devel] [Bug 157201] tab names in konsole should have a maximum size

manolis manolis at koppermind.homelinux.org
Tue May 6 14:25:52 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157201         
manolis koppermind homelinux org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |



------- Additional Comments From manolis koppermind homelinux org  2008-05-06 16:25 -------
The fix works ok, but it is also ugly.
The correct way is to :
use a QFontMetric for QFont of tabText (Really how can you query for the QFont of QTabBar ? )

crop the over-laying characters by comparing with tabRect , and add the "..." if a crop is done.

Now as the fix is, even with only one tab and a big space, the name is being cropped to 20chars.



More information about the konsole-devel mailing list