summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qdnd_mac.mm
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2009-05-22 08:49:32 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2009-05-22 08:53:23 (GMT)
commit5cd9be6c2702ce1f4292003ac3e864f08a0311f3 (patch)
treea0022cf550c617cfcb60366d49422a80a4d2697e /src/gui/kernel/qdnd_mac.mm
parentc8e632f96a942590ab9936d136dcf2f7eb17fef8 (diff)
downloadQt-5cd9be6c2702ce1f4292003ac3e864f08a0311f3.zip
Qt-5cd9be6c2702ce1f4292003ac3e864f08a0311f3.tar.gz
Qt-5cd9be6c2702ce1f4292003ac3e864f08a0311f3.tar.bz2
Fix toolbutton text incorrectly clipped on windows
In 4.5 the toolbutton icon rendering was changed somewhat and the bottom line of text for tool buttons icons with TextUnderIcon set is incorrectly clipped on Windows. The style reserves only 5 pixels but tries to use 6 pixels for text and icon spacing, hence we adjust the text rect one pixel up. This should be safe considering the fact that we have a margin on both sides of the icon already and avoids actually moving the icon positioning. Task-number: 252554 Reviewed-by: trond
Diffstat (limited to 'src/gui/kernel/qdnd_mac.mm')
0 files changed, 0 insertions, 0 deletions