mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 14:32:07 +08:00
fix margin on c2
This commit is contained in:
@@ -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); }));
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user