Mac: Fix rendering of non-int sized fonts.
authorEike Ziller <eike.ziller@nokia.com>
Fri, 15 Jun 2012 11:42:19 +0000 (13:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 19 Jun 2012 13:46:16 +0000 (15:46 +0200)
commit5ac8e6ef178678f500668d67fe38d149f0821029
treefe740f996b325d12d56602af038d9260e2d4b000
parentf6bf4b2baa91e55f40596bf3f2823b119fdfa5e0
Mac: Fix rendering of non-int sized fonts.

Scrolling happens in integer steps, so it's necessary to use a
fractional correction value.

Task-number: QTCREATORBUG-7127
Change-Id: I1b027d2482b7daac83ddc8cac64d2a4449de257c
Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
src/gui/widgets/qplaintextedit.cpp
src/gui/widgets/qplaintextedit_p.h