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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel