From ff5656b0f86accc08d54298fb989623dc923f49c Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 22 Jun 2021 10:46:01 +0200 Subject: [PATCH] nav: bump font size by 25% old-commit-hash: 64e4294b04dd6481ec1fcb07d2f80595a1c834ab --- selfdrive/ui/qt/maps/map.cc | 8 ++++---- selfdrive/ui/qt/qt_window.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index 689320fad..20f7031c7 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -467,16 +467,16 @@ MapInstructions::MapInstructions(QWidget * parent) : QWidget(parent) { QVBoxLayout *layout = new QVBoxLayout(w); distance = new QLabel; - distance->setStyleSheet(R"(font-size: 75px;)"); + distance->setStyleSheet(R"(font-size: 90px;)"); layout->addWidget(distance); primary = new QLabel; - primary->setStyleSheet(R"(font-size: 50px;)"); + primary->setStyleSheet(R"(font-size: 60px;)"); primary->setWordWrap(true); layout->addWidget(primary); secondary = new QLabel; - secondary->setStyleSheet(R"(font-size: 40px;)"); + secondary->setStyleSheet(R"(font-size: 50px;)"); secondary->setWordWrap(true); layout->addWidget(secondary); @@ -688,7 +688,7 @@ MapETA::MapETA(QWidget * parent) : QWidget(parent) { * { color: white; font-family: "Inter"; - font-size: 55px; + font-size: 70px; } )"); diff --git a/selfdrive/ui/qt/qt_window.h b/selfdrive/ui/qt/qt_window.h index 295ab083f..8983d2ff7 100644 --- a/selfdrive/ui/qt/qt_window.h +++ b/selfdrive/ui/qt/qt_window.h @@ -13,7 +13,8 @@ #include "selfdrive/hardware/hw.h" -const int vwp_w = Hardware::TICI() ? 2160 : 1920; +// const int vwp_w = Hardware::TICI() ? 2160 : 1920; +const int vwp_w = 2160; const int vwp_h = 1080; inline void setMainWindow(QWidget *w) {