summaryrefslogtreecommitdiff
path: root/tests/auto/qvectornd
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-02-05 09:48:22 +0100
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-02-05 09:48:22 +0100
commit3baf7b981a8f40ed13c2ffb62d2188a16005f69c (patch)
treedeea1cb454575b4104b58732333588d1b17bb697 /tests/auto/qvectornd
parent3d5aacccdb14ca428cc05e2a0db36bf3baa1a1fa (diff)
downloadqt4-tools-3baf7b981a8f40ed13c2ffb62d2188a16005f69c.tar.gz
fix regression from Qt 4.5 wrt missing text pixels in QTabBar
The line spacing fix showed a bug in QCommonStylePrivate::tabLayout. Since QFontMetrics::height() now usually returns one pixel less than in Qt 4.5, the tab bar is one pixel smaller. Squeezing the tab rect vertically can result in missing pixels. This depends on anti-aliasing settings and font size. The new behaviour in tabLayout is now: If we have to shift the tab rect, then we move its position instead of changing its height. Task-number: QTBUG-7137 Reviewed-by: jbache
Diffstat (limited to 'tests/auto/qvectornd')
0 files changed, 0 insertions, 0 deletions