The reason for this is that the Configuration window and the View window don't use QTabWidget, but a combination of QListWidget for the tab bar and QStackedWidget for the "pages". QTabWidget shows indication when a tab goes out of the viewport, but a QList widget normally just add a scrollbar, something that has been disabled to make it look like a tab bar. (For the way a QListWidget and QStackedWidget are used normally in this way, see this Qt example: http://qt-project.org/doc/qt-4.8/dialogs-configdialog.html )
I've searched for a solution. Apparently, the only way to make a QListWidget to resize to its contents is to make a subclass of QListWidget with a custom (minimum)sizeHint() method using the undocumented protected function QListView::contentsSize(). (QListWidget is a subclass of QListView.)
And no, this is not related to bug #995107. That one affected things like buttons.
The reason for this is that the Configuration window and the View window don't use QTabWidget, but a combination of QListWidget for the tab bar and QStackedWidget for the "pages". QTabWidget shows indication when a tab goes out of the viewport, but a QList widget normally just add a scrollbar, something that has been disabled to make it look like a tab bar. (For the way a QListWidget and QStackedWidget are used normally in this way, see this Qt example: http:// qt-project. org/doc/ qt-4.8/ dialogs- configdialog. html )
I've searched for a solution. Apparently, the only way to make a QListWidget to resize to its contents is to make a subclass of QListWidget with a custom (minimum)sizeHint() method using the undocumented protected function QListView: :contentsSize( ). (QListWidget is a subclass of QListView.)
And no, this is not related to bug #995107. That one affected things like buttons.