mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-03 16:49:31 +08:00
UI: Fix Padding on OptionControlSP (#886)
fix padding Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
This commit is contained in:
@@ -118,7 +118,7 @@ AbstractControlSP_SELECTOR::AbstractControlSP_SELECTOR(const QString &title, con
|
||||
if (!title.isEmpty()) {
|
||||
title_label = new QPushButton(title);
|
||||
title_label->setFixedHeight(120);
|
||||
title_label->setStyleSheet("font-size: 50px; font-weight: 450; text-align: left; border: none; padding: 20 0 0 0");
|
||||
title_label->setStyleSheet("font-size: 50px; font-weight: 450; text-align: left; border: none; padding: 0 0 0 0");
|
||||
main_layout->addWidget(title_label, 1);
|
||||
|
||||
connect(title_label, &QPushButton::clicked, [=]() {
|
||||
|
||||
Reference in New Issue
Block a user