dashboard: fix vehicle card newlines
This commit is contained in:
1 parent
2b00a1b01c
commit
65da85c57c
2 files changed
+6
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
static const char *DASHBOARD_VERSION = "0.1.46-vehicle-sample-card";
|
||||
static const char *DASHBOARD_VERSION = "0.1.47-vehicle-card-newlines";
|
||||
|
||||
// Update these if your Cargo ESP AP credentials are different.
|
||||
static const char *CARGO_WIFI_SSID = "OverlandController";
|
||||
|
||||
@@ -1131,11 +1131,11 @@ static void create_overland_overview_screen()
|
||||
|
||||
lv_obj_t *vehicle_label = lv_label_create(vehicle_card);
|
||||
lv_label_set_text(vehicle_label,
|
||||
"Coolant 188\\n"
|
||||
"Trans --\\n"
|
||||
"Fuel --%\\n"
|
||||
"4WD --\\n"
|
||||
"Tilt --"
|
||||
"Coolant 188\n"
|
||||
"Trans --\n"
|
||||
"Fuel --%\n"
|
||||
"4WD --\n"
|
||||
"Tilt --"
|
||||
);
|
||||
lv_obj_set_style_text_color(vehicle_label, lv_color_hex(0xDDE3EA), 0);
|
||||
lv_obj_set_style_text_font(vehicle_label, &lv_font_montserrat_30, 0);
|
||||
|
||||
Reference in new issue
Block a user