From 9725128331cbb35b784c0e2828f1a228201329b6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 20 Nov 2020 22:03:01 -0800 Subject: [PATCH] fix small terms (#2593) Co-authored-by: Comma Device --- selfdrive/ui/qt/window.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/ui/qt/window.cc b/selfdrive/ui/qt/window.cc index db20965a3..ccb301048 100644 --- a/selfdrive/ui/qt/window.cc +++ b/selfdrive/ui/qt/window.cc @@ -72,6 +72,8 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) { QObject::connect(onboardingWindow, SIGNAL(onboardingDone()), this, SLOT(closeSettings())); onboardingWindow->updateActiveScreen(); + // TODO: this is needed to make first page not squished, why? + main_layout->setSizeConstraint(QLayout::SetMinimumSize); setStyleSheet(R"( * {