From cb5e9f60a1e7ef72627d674932d787c759ba0abf Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Tue, 11 Jul 2023 08:26:03 +0200 Subject: [PATCH] Changed default auto hide config - added flag AutoHideCloseButtonCollapsesDock --- src/DockManager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DockManager.h b/src/DockManager.h index 55894fc..8f24bec 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -252,7 +252,9 @@ public: AutoHideCloseButtonCollapsesDock = 0x40, ///< Close button of an auto hide container collapses the dock instead of hiding it completely DefaultAutoHideConfig = AutoHideFeatureEnabled - | DockAreaHasAutoHideButton ///< the default configuration for left and right side bars + | DockAreaHasAutoHideButton + | AutoHideCloseButtonCollapsesDock + }; Q_DECLARE_FLAGS(AutoHideFlags, eAutoHideFlag)