add comment regarding empty widget in overlay dock container

This commit is contained in:
Syarif Fakhri 2022-09-08 17:42:24 +08:00
parent a2e9c1aa9c
commit 6ae14fada3

View File

@ -91,7 +91,7 @@ COverlayDockContainer::COverlayDockContainer(CDockManager* DockManager, CDockWid
d->Splitter->setChildrenCollapsible(false);
const auto emptyWidget = new QWidget();
emptyWidget->setMinimumWidth(50);
emptyWidget->setMinimumWidth(50); // Prevents you from dragging the splitter too far
if (area == CDockWidgetSideTab::SideTabBarArea::Left)
{