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

List:       kde-bugs-dist
Subject:    [Bug 166573] minimum tab width is too wide
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2009-06-02 18:31:46
Message-ID: 20090602183146.B6659166D3 () immanuel ! kde ! org
[Download RAW message or body]

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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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