summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2010-04-28 09:06:15 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-04-28 09:11:10 (GMT)
commit89db625958949cf94f112fc2f9e6a3bf6399e43b (patch)
treefc3f2613aeeb034674d53db6f08a478c7d1f0a9f /dist
parentb4ce1496d6fcd54ae4ec2fed23bc0fddcd5bee33 (diff)
downloadQt-89db625958949cf94f112fc2f9e6a3bf6399e43b.zip
Qt-89db625958949cf94f112fc2f9e6a3bf6399e43b.tar.gz
Qt-89db625958949cf94f112fc2f9e6a3bf6399e43b.tar.bz2
QTabBar: smaller minimumSizeHint in ElideMode, and unit-test.
When a tabbar had a large number of tabs with short text (5 to 7 characters), no eliding would happen, the window would keep growing until it became wider than the desktop. This commit therefore reduces the minimumSizeHint using more aggressive eliding when eliding is enabled. Also, at some point I had doubts about whether minimumSizeHint took eliding into consideration at all, so I also added a unit-test for minimumSizeHint and sizeHint of tabbars, in various modes. Merge-request: 583 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions