Qt: Fix spacing in shader parameters

This commit is contained in:
Connor McLaughlin 2020-09-30 23:03:04 +10:00
parent 2c971ce0c7
commit f761f1550f

View file

@ -132,6 +132,9 @@ void PostProcessingShaderConfigWidget::createUi()
QPushButton* reset_button = new QPushButton(tr("Reset to Defaults"), this); QPushButton* reset_button = new QPushButton(tr("Reset to Defaults"), this);
connect(reset_button, &QPushButton::clicked, this, &PostProcessingShaderConfigWidget::onResetToDefaultsClicked); connect(reset_button, &QPushButton::clicked, this, &PostProcessingShaderConfigWidget::onResetToDefaultsClicked);
m_layout->addWidget(reset_button, row, 0, 1, 1); m_layout->addWidget(reset_button, row, 0, 1, 1);
row++;
m_layout->addItem(new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding), row, 0, 1, 3);
} }
void PostProcessingShaderConfigWidget::onResetToDefaultsClicked() void PostProcessingShaderConfigWidget::onResetToDefaultsClicked()