Skip to content

Commit

Permalink
Editor: Make + and - buttons have a similar width
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Feb 16, 2024
1 parent 6639898 commit 68743ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor/common_features/json_settings_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1317,10 +1317,12 @@ void JsonSettingsWidget::loadLayoutEntries(JsonSettingsWidget::SetupStack setupT
QToolButton *button_add = new QToolButton(sizeBox);
button_add->setText("+");
button_add->setToolTip(tr("Add new item into the list"));
button_add->setMinimumWidth(25);
sizeBoxL->addWidget(button_add, 0, col++);

QToolButton *button_remove = new QToolButton(sizeBox);
button_remove->setText("-");
button_remove->setMinimumWidth(25);
button_remove->setToolTip(tr("Remove selected item from the list"));
sizeBoxL->addWidget(button_remove, 0, col++);

Expand Down

0 comments on commit 68743ee

Please sign in to comment.