Improvements fixing toolbox height too tall in versions of Qt prior to 5.6. ...
Improvements fixing toolbox height too tall in versions of Qt prior to 5.6. Extended QDockWidget and QTabWidget to override the sizeHint() method and added methods to set the size hints. This somewhat replaces the functionality of QMainWindow::resizeDocks() that is only available in Qt 5.6 and newer. BrainBrowserWindowOrientatedToolBox(extends QDockWidget) adjusts its size using the size hint of the its child widget (from QDockWidget documentation) so a size hint width/height is set fort the child widget (WuQTabWidgetWithSizeHint overrides and implements sizeHint() method from QTabWidget).
parent
869f8c65
Please register or sign in to comment