Review Request: Fix text centering in task manager task items

Aaron J. Seigo aseigo at kde.org
Fri Jul 17 21:51:21 CEST 2009


On Thursday 16 July 2009, Alec Moskvin wrote:
> > On 2009-07-16 07:54:09, Marco Martin wrote:
> > > yeah, the text ends up definitely not centered :(
> > > http://imagebin.ca/view/hGiPl3.html
>
> What's interesting is that it's actually pretty well-centered, but it looks
> way off if the text has no "descenders."

i find it often looks most natural to the eye to align text to the baseline, 
even if it isn't strictly centered anymore. QFontMetrics can tell you what the 
descent is to calculate the baseline. maybe that will help.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090717/165b9674/attachment.sig 


More information about the Plasma-devel mailing list