From 880a7f13b57241efc317921be8f91b83d305df1a Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Thu, 22 Sep 2022 10:40:11 +0800 Subject: [PATCH] add config flag in ads demo --- demo/MainWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo/MainWindow.cpp b/demo/MainWindow.cpp index 6d8d0c9..496313d 100644 --- a/demo/MainWindow.cpp +++ b/demo/MainWindow.cpp @@ -652,6 +652,9 @@ CMainWindow::CMainWindow(QWidget *parent) : // widget that has the focus CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true); + // uncomment if you would like to enable dock widget auto hiding + // CDockManager::setConfigFlag(CDockManager::DefaultAutoHideConfig, true); + // uncomment if you would like to enable an equal distribution of the // available size of a splitter to all contained dock widgets // CDockManager::setConfigFlag(CDockManager::EqualSplitOnInsertion, true);