From fde80071746149b54f83e15513d73a5441c75fb8 Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Tue, 18 Oct 2022 10:22:56 +0800 Subject: [PATCH] reduce margin a little bit for the horizontal component --- src/DockWidgetSideTab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockWidgetSideTab.cpp b/src/DockWidgetSideTab.cpp index eafe96b..2f483f8 100644 --- a/src/DockWidgetSideTab.cpp +++ b/src/DockWidgetSideTab.cpp @@ -106,7 +106,7 @@ struct DockWidgetSideTabPrivate } else if (Orientation == Qt::Horizontal) { - TitleLayout->setContentsMargins(Spacing / 2, Spacing, Spacing, Spacing); + TitleLayout->setContentsMargins(Spacing / 2, Spacing, Spacing, Spacing / 2); if (IconLabel) { IconLabel->setContentsMargins(Spacing / 2, Spacing / 2, 0, Spacing / 2);