[Konsole-devel] [Bug 166573] minimum tab width is too wide

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Jun 2 18:31:46 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=166573





--- Comment #6 from Matthew Woehlke <mw_triad users sourceforge net>  2009-06-02 20:31:44 ---
> I would need to figure out the length of string in pixels based on font ... no
> idea how difficult is that.

It's not difficult (although the answer you get is a "guess", you can only get
actual width by rendering the text, but the guess is good enough 90% of the
time).

I could provide sample code if you like.

That said, I prefer the current behavior when things "aren't crowded", but this
relates closely to bug 192079 (which I believe is a duplicate, but I don't have
an older bug number handy).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list