reduce margin a little bit for the horizontal component

This commit is contained in:
Syarif Fakhri 2022-10-18 10:22:56 +08:00
parent 60e0201060
commit fde8007174

View File

@ -106,7 +106,7 @@ struct DockWidgetSideTabPrivate
} }
else if (Orientation == Qt::Horizontal) else if (Orientation == Qt::Horizontal)
{ {
TitleLayout->setContentsMargins(Spacing / 2, Spacing, Spacing, Spacing); TitleLayout->setContentsMargins(Spacing / 2, Spacing, Spacing, Spacing / 2);
if (IconLabel) if (IconLabel)
{ {
IconLabel->setContentsMargins(Spacing / 2, Spacing / 2, 0, Spacing / 2); IconLabel->setContentsMargins(Spacing / 2, Spacing / 2, 0, Spacing / 2);