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

This commit is contained in:
Dean Lee
2023-08-14 19:43:32 +08:00
committed by GitHub
parent 783bb1f878
commit 9071c8a4fc

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