nav: bump font size by 25%

old-commit-hash: 64e4294b04
vw-mqb-aeb
Willem Melching 4 years ago
parent 84369b373d
commit ff5656b0f8
  1. 8
      selfdrive/ui/qt/maps/map.cc
  2. 3
      selfdrive/ui/qt/qt_window.h

@ -467,16 +467,16 @@ MapInstructions::MapInstructions(QWidget * parent) : QWidget(parent) {
QVBoxLayout *layout = new QVBoxLayout(w); QVBoxLayout *layout = new QVBoxLayout(w);
distance = new QLabel; distance = new QLabel;
distance->setStyleSheet(R"(font-size: 75px;)"); distance->setStyleSheet(R"(font-size: 90px;)");
layout->addWidget(distance); layout->addWidget(distance);
primary = new QLabel; primary = new QLabel;
primary->setStyleSheet(R"(font-size: 50px;)"); primary->setStyleSheet(R"(font-size: 60px;)");
primary->setWordWrap(true); primary->setWordWrap(true);
layout->addWidget(primary); layout->addWidget(primary);
secondary = new QLabel; secondary = new QLabel;
secondary->setStyleSheet(R"(font-size: 40px;)"); secondary->setStyleSheet(R"(font-size: 50px;)");
secondary->setWordWrap(true); secondary->setWordWrap(true);
layout->addWidget(secondary); layout->addWidget(secondary);
@ -688,7 +688,7 @@ MapETA::MapETA(QWidget * parent) : QWidget(parent) {
* { * {
color: white; color: white;
font-family: "Inter"; font-family: "Inter";
font-size: 55px; font-size: 70px;
} }
)"); )");

@ -13,7 +13,8 @@
#include "selfdrive/hardware/hw.h" #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; const int vwp_h = 1080;
inline void setMainWindow(QWidget *w) { inline void setMainWindow(QWidget *w) {

Loading…
Cancel
Save