Fix font and positioning of headerview labels on mac
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Fri, 2 Nov 2012 12:28:57 +0000 (13:28 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 14:24:20 +0000 (15:24 +0100)
commit7d497846f0a44e796b347c5c7bb355237d1a409d
treee8b604112480041b3fb35355ead1b8075e90bf36
parent0a91c9df01ec8f0c4aef9ce6e5e9bc3804fb80c2
Fix font and positioning of headerview labels on mac

The old code rendered text too large. On desktop components,
the widget workaround ensured that text was clipped.

This should address both problems. Since we anyway do not
adapt the height to font size, I dont se a point in
supporting custom fonts here.

Change-Id: If3c0509cdff4dbadfd98bd4b1934eaa665148cbf
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/widgets/styles/qmacstyle_mac.mm