forked from qt-creator/qt-creator
Use same button type (QToolButton) for all build step buttons.
Makes it look a bit less bad on Mac
This commit is contained in:
@@ -163,7 +163,7 @@ void BuildStepsPage::addBuildStepWidget(int pos, BuildStep *step)
|
|||||||
s.upButton->setIconSize(QSize(10, 10));
|
s.upButton->setIconSize(QSize(10, 10));
|
||||||
s.downButton->setIconSize(QSize(10, 10));
|
s.downButton->setIconSize(QSize(10, 10));
|
||||||
#endif
|
#endif
|
||||||
s.removeButton = new QPushButton(this);
|
s.removeButton = new QToolButton(this);
|
||||||
s.removeButton->setText(QChar('X'));
|
s.removeButton->setText(QChar('X'));
|
||||||
s.removeButton->setMaximumHeight(22);
|
s.removeButton->setMaximumHeight(22);
|
||||||
s.removeButton->setMaximumWidth(22);
|
s.removeButton->setMaximumWidth(22);
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ struct BuildStepsWidgetStruct
|
|||||||
Utils::DetailsWidget *detailsWidget;
|
Utils::DetailsWidget *detailsWidget;
|
||||||
QToolButton *upButton;
|
QToolButton *upButton;
|
||||||
QToolButton *downButton;
|
QToolButton *downButton;
|
||||||
QPushButton *removeButton;
|
QToolButton *removeButton;
|
||||||
};
|
};
|
||||||
|
|
||||||
class BuildStepsPage : public BuildConfigWidget
|
class BuildStepsPage : public BuildConfigWidget
|
||||||
|
|||||||
Reference in New Issue
Block a user