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:
parent
770829a855
commit
576d46e6fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue