UI/Qt: Balance tab strip window control padding

Use matching top and right padding around the tab strip window controls
when the menu bar is hidden, while keeping the existing left spacing for
tabs and the resize edge.
This commit is contained in:
Andreas Kling 2026-05-27 18:18:35 +02:00 committed by Andreas Kling
parent 770829a855
commit 576d46e6fa

View file

@ -503,7 +503,7 @@ TabWidget::TabWidget(QWidget* parent)
auto* tab_bar_row_layout = new QHBoxLayout();
tab_bar_row_layout->setSpacing(4);
tab_bar_row_layout->setContentsMargins(12, 3, 8, 1);
tab_bar_row_layout->setContentsMargins(12, 3, 4, 1);
tab_bar_row_layout->addWidget(m_tab_bar);
tab_bar_row_layout->addWidget(m_new_tab_button, 0, Qt::AlignVCenter);
tab_bar_row_layout->addStretch(1);