Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, December 2006
anyone else been bitten by QTabBar expansion behavior in Qt 4.x?


Message 1 in thread

I filed a bug on this (140578).

For Qt 4.2, the behavior of tabs has changed, and now they are forced to 
have the same tab size, regardless of the sizeHint() method. This comes 
down to an "expansive" flag in qtabbar.cpp getting set to true for the 
interior tabs, with no way to turn it off.

This results in tab bars with lots of tabs now using too much space. Tab 
bars that fit properly in the available space looked right in Qt 4.1, 
but now end up looking squashed in 4.2. I don't think the bug 
description does this problem justice.

-- 
 [ signature omitted ]