mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
Fix spacing in MultiOptionDialog (#26817)
Update input.cc old-commit-hash: 66bdd8b1228eb725006cc4c2d389fe2cef7e674a
This commit is contained in:
@@ -296,6 +296,8 @@ MultiOptionDialog::MultiOptionDialog(const QString &prompt_text, const QStringLi
|
||||
group->addButton(selectionLabel);
|
||||
listLayout->addWidget(selectionLabel);
|
||||
}
|
||||
// add stretch to keep buttons spaced correctly
|
||||
listLayout->addStretch(1);
|
||||
|
||||
ScrollView *scroll_view = new ScrollView(listWidget, this);
|
||||
scroll_view->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
|
||||
Reference in New Issue
Block a user