From e8587520acac6cd7fd316acb5468cf58fc853d2e Mon Sep 17 00:00:00 2001 From: Comma Device Date: Sat, 31 Oct 2020 03:05:56 +0000 Subject: [PATCH] big button --- selfdrive/ui/qt/offroad/settings.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index 8ec0129c9a..fc1362c143 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -203,7 +203,14 @@ SettingsWindow::SettingsWindow(QWidget *parent) : QWidget(parent) { panel_layout = new QStackedLayout(); // close button - QPushButton *close_button = new QPushButton("<- back"); + QPushButton *close_button = new QPushButton("X"); + close_button->setStyleSheet(R"( + QPushButton { + padding: 50px; + font-weight: bold; + font-size: 100px; + } + )"); sidebar_layout->addWidget(close_button); QObject::connect(close_button, SIGNAL(released()), this, SIGNAL(closeSettings()));