ui/map_instructions: set margin-top to UI_BORDER_SIZE (#29387)

old-commit-hash: 9071c8a4fc
This commit is contained in:
Dean Lee 2023-08-14 19:43:32 +08:00 committed by GitHub
parent 8e91f98da5
commit 87c4c661c7
1 changed files with 1 additions and 1 deletions

View File

@ -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);