diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 85cdfa1..46065f0 100644 --- a/firmware/esp32-s3-dashboard/dashboard_config.h +++ b/firmware/esp32-s3-dashboard/dashboard_config.h @@ -1,6 +1,6 @@ #pragma once -static const char *DASHBOARD_VERSION = "0.1.112-main-label-match"; +static const char *DASHBOARD_VERSION = "0.1.113-overview-main-label-style"; // Update these if your Cargo ESP AP credentials are different. //static const char *CARGO_WIFI_SSID = "OverlandController"; diff --git a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino index b3e1b2e..a7c3890 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -1988,12 +1988,13 @@ cargo_status_dot = lv_obj_create(system_card); lv_obj_set_style_text_align(outside_status_temp_label, LV_TEXT_ALIGN_CENTER, 0); lv_obj_align(outside_status_temp_label, LV_ALIGN_CENTER, 0, 0); - lv_obj_t *page_dots = lv_label_create(system_card); - lv_label_set_text(page_dots, "< MAIN"); - lv_obj_set_style_text_color(page_dots, lv_color_hex(0xB8C0C8), 0); - lv_obj_set_width(page_dots, 120); - lv_obj_set_style_text_align(page_dots, LV_TEXT_ALIGN_RIGHT, 0); - lv_obj_align(page_dots, LV_ALIGN_RIGHT_MID, -10, 0); + lv_obj_t *page_label = lv_label_create(system_card); + lv_label_set_text(page_label, "MAIN"); + lv_obj_set_style_text_color(page_label, lv_color_hex(0xB8C0C8), 0); + lv_obj_set_style_text_font(page_label, &lv_font_montserrat_26, 0); + lv_obj_set_width(page_label, 160); + lv_obj_set_style_text_align(page_label, LV_TEXT_ALIGN_RIGHT, 0); + lv_obj_align(page_label, LV_ALIGN_RIGHT_MID, -10, 0); } void setup()