From 87c4c661c7b7b8e07e87f55bfac84c687e30e2a4 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Mon, 14 Aug 2023 19:43:32 +0800 Subject: [PATCH] ui/map_instructions: set margin-top to UI_BORDER_SIZE (#29387) old-commit-hash: 9071c8a4fcd392efd9b0533879ee080aff9cccac --- selfdrive/ui/qt/maps/map_instructions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/maps/map_instructions.cc b/selfdrive/ui/qt/maps/map_instructions.cc index 25fec5c274..865f03f6c0 100644 --- a/selfdrive/ui/qt/maps/map_instructions.cc +++ b/selfdrive/ui/qt/maps/map_instructions.cc @@ -10,7 +10,7 @@ const QString ICON_SUFFIX = ".png"; MapInstructions::MapInstructions(QWidget *parent) : QWidget(parent) { is_rhd = Params().getBool("IsRhdDetected"); QHBoxLayout *main_layout = new QHBoxLayout(this); - main_layout->setContentsMargins(11, 50, 11, 11); + main_layout->setContentsMargins(11, UI_BORDER_SIZE, 11, 11); main_layout->addWidget(icon_01 = new QLabel, 0, Qt::AlignTop); QWidget *right_container = new QWidget(this);