From 8c9f9c3c93ab6a499b08a34d2aa99c8d348e6eb0 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Wed, 26 Jun 2024 11:19:11 -0700 Subject: [PATCH] Add text field for persistent log during FW Update --- firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c b/firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c index caf2c5f2d..5db2aa76d 100644 --- a/firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c +++ b/firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c @@ -1299,4 +1299,13 @@ lv_obj_set_style_text_color(ui_SystemMenuUpdateLog, lv_color_hex(0xFFFFFF), LV_P lv_obj_set_style_text_opa(ui_SystemMenuUpdateLog, 255, LV_PART_MAIN| LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui_SystemMenuUpdateLog, &ui_font_MuseoSansRounded50012, LV_PART_MAIN| LV_STATE_DEFAULT); +ui_SystemMenuUpdateLog = lv_label_create(ui_SystemMenuUpdateTab); +lv_obj_set_width( ui_SystemMenuUpdateLog, lv_pct(100)); +lv_obj_set_height( ui_SystemMenuUpdateLog, LV_SIZE_CONTENT); /// 1 +lv_obj_set_align( ui_SystemMenuUpdateLog, LV_ALIGN_CENTER ); +lv_label_set_text(ui_SystemMenuUpdateLog,""); +lv_obj_set_style_text_color(ui_SystemMenuUpdateLog, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT ); +lv_obj_set_style_text_opa(ui_SystemMenuUpdateLog, 255, LV_PART_MAIN| LV_STATE_DEFAULT); +lv_obj_set_style_text_font(ui_SystemMenuUpdateLog, &ui_font_MuseoSansRounded50012, LV_PART_MAIN| LV_STATE_DEFAULT); + }