From 0953a5d2abadeff23c55ecdc8de427eac1132460 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 14 Nov 2022 23:28:43 -0800 Subject: [PATCH] ui: stretch abstract control title (#26499) stretch toggle title so it's easier to expand old-commit-hash: 7fcafa402239c30d8344c46608ade6a8fd4831f4 --- selfdrive/ui/qt/widgets/controls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/widgets/controls.cc b/selfdrive/ui/qt/widgets/controls.cc index d3b77935df..619fd3cb4c 100644 --- a/selfdrive/ui/qt/widgets/controls.cc +++ b/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();