fix margin on c2

old-commit-hash: eda9538cc3e04d0fd8b45d6c73dfb1bb5f72397e
This commit is contained in:
Comma Device
2021-03-22 00:02:49 -07:00
parent d7cf75fc64
commit c3c741af70
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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); }));
+1
View File
@@ -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