Fix side tab widgets being the wrong size when being added to a layout

This commit is contained in:
Syarif Fakhri 2022-09-19 14:19:31 +08:00
parent ea0eac0e38
commit 6e143de09d

View File

@ -1504,8 +1504,8 @@ COverlayDockContainer* CDockContainerWidget::createAndInitializeDockWidgetOverla
return nullptr;
}
DockWidget->sideTabWidget()->updateOrientationAndSpacing(area);
sideTabBar(area)->insertSideTab(insertOrder == CDockWidget::First ? 0 : -1, DockWidget->sideTabWidget());
sideTabBar(area)->show();
DockWidget->sideTabWidget()->show();
const auto dockContainer = new COverlayDockContainer(DockWidget, area, this);