diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index d9cdf34ae..f81d585b9 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -94,7 +94,7 @@ QWidget * device_panel() { device_layout->addWidget(horizontal_line()); - device_layout->addWidget(new ButtonControl("Driver camera view", "PREVIEW", + device_layout->addWidget(new ButtonControl("Driver Camera", "PREVIEW", "Preview the driver facing camera to help optimize device mounting position for best driver monitoring experience. (vehicle must be off)", [=]() { Params().write_db_value("IsDriverViewEnabled", "1", 1); })); diff --git a/selfdrive/ui/qt/widgets/controls.cc b/selfdrive/ui/qt/widgets/controls.cc index 811199626..b702a6ec4 100644 --- a/selfdrive/ui/qt/widgets/controls.cc +++ b/selfdrive/ui/qt/widgets/controls.cc @@ -16,6 +16,7 @@ QFrame *horizontal_line(QWidget *parent) { AbstractControl::AbstractControl(const QString &title, const QString &desc, const QString &icon) : QFrame() { hlayout = new QHBoxLayout; + hlayout->setMargin(0); hlayout->setSpacing(50); // left icon