mirror of https://github.com/commaai/openpilot.git
ui/map_instructions: set margin-top to UI_BORDER_SIZE (#29387)
old-commit-hash: 9071c8a4fc
This commit is contained in:
parent
8e91f98da5
commit
87c4c661c7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue