ui/map_instructions: restore padding (#29548)
* restore padding * fixes * fix left and right margins --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> old-commit-hash: 4ea78330605cc3e46005e3d0f8915ef8a60c952a
This commit is contained in:
@@ -11,12 +11,13 @@ const QString ICON_SUFFIX = ".png";
|
||||
MapInstructions::MapInstructions(QWidget *parent) : QWidget(parent) {
|
||||
is_rhd = Params().getBool("IsRhdDetected");
|
||||
QVBoxLayout *main_layout = new QVBoxLayout(this);
|
||||
main_layout->setContentsMargins(11, UI_BORDER_SIZE, 11, 11);
|
||||
main_layout->setContentsMargins(11, UI_BORDER_SIZE, 11, 20);
|
||||
|
||||
QHBoxLayout *top_layout = new QHBoxLayout;
|
||||
top_layout->addWidget(icon_01 = new QLabel, 0, Qt::AlignTop);
|
||||
|
||||
QVBoxLayout *right_layout = new QVBoxLayout;
|
||||
right_layout->setContentsMargins(9, 9, 9, 0);
|
||||
right_layout->addWidget(distance = new QLabel);
|
||||
distance->setStyleSheet(R"(font-size: 90px;)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user