Fix spacing in MultiOptionDialog (#26817)

Update input.cc
old-commit-hash: 66bdd8b122
beeps
Shane Smiskol 2 years ago committed by GitHub
parent a8c4347a5f
commit 4a4703fdcb
  1. 2
      selfdrive/ui/qt/widgets/input.cc

@ -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);

Loading…
Cancel
Save