ui: stretch abstract control title (#26499)

stretch toggle title so it's easier to expand
pull/26498/head
Shane Smiskol 2 years ago committed by GitHub
parent 2d766fee14
commit 7fcafa4022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/qt/widgets/controls.cc

@ -38,7 +38,7 @@ AbstractControl::AbstractControl(const QString &title, const QString &desc, cons
title_label = new QPushButton(title);
title_label->setFixedHeight(120);
title_label->setStyleSheet("font-size: 50px; font-weight: 400; text-align: left");
hlayout->addWidget(title_label);
hlayout->addWidget(title_label, 1);
// value next to control button
value = new ElidedLabel();

Loading…
Cancel
Save