mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Fix side tab widgets being the wrong size when being added to a layout
This commit is contained in:
parent
ea0eac0e38
commit
6e143de09d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user