mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:25:56 +00:00
UI: Minor refactor
This commit is contained in:
parent
67513ff7e7
commit
8473da74d8
@ -46,7 +46,7 @@ void SpinCombo::setupUi()
|
||||
setupSpin();
|
||||
setupCombo();
|
||||
|
||||
auto layout = ControlUtil::createRowLayout(m_spinBox, m_comboBox, 0);
|
||||
auto layout = ControlUtil::createRowLayout(m_spinBox, m_comboBox, /*stretch1=*/0);
|
||||
|
||||
this->setLayout(layout);
|
||||
}
|
||||
|
@ -617,7 +617,7 @@ QLayout *ProgramEditDialog::setupRuleLayout()
|
||||
}
|
||||
});
|
||||
|
||||
auto layout = ControlUtil::createHLayoutByWidgets({ m_editRuleName, m_btSelectRule });
|
||||
auto layout = ControlUtil::createRowLayout(m_editRuleName, m_btSelectRule);
|
||||
layout->setSpacing(0);
|
||||
|
||||
return layout;
|
||||
|
Loading…
Reference in New Issue
Block a user