summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-06-23 05:18:19 (GMT)
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-06-23 05:18:19 (GMT)
commit13cacbd801e3077ad87d21c9b2607a4d7854308d (patch)
tree72a71a668cbf063ab580bcb69a07c220eebbb424 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent684de9f1bf5886e91547db6726afaa88587310ce (diff)
downloadQt-13cacbd801e3077ad87d21c9b2607a4d7854308d.zip
Qt-13cacbd801e3077ad87d21c9b2607a4d7854308d.tar.gz
Qt-13cacbd801e3077ad87d21c9b2607a4d7854308d.tar.bz2
Fix painting of overlines in labels.
If the size of the widget is an odd number, the layout rect will be positioned at a 0.5 offset. The clipping set further below will snap this to 1 and thus clip away the anything drawn on the first row of pixels. Fix this by aligning the rectangle we get by layout rect. Reviewed-by: Eskil Task: http://bugreports.qt.nokia.com/browse/QTBUG-9684
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions