Make hostname same size as MAC Address

This commit is contained in:
Marc Brooks 2025-10-30 04:47:21 -05:00
parent 03db0dae8b
commit abc14bcda7
No known key found for this signature in database
GPG Key ID: 583A6AF2D6AE1DC6
2 changed files with 4 additions and 6 deletions

View File

@ -1414,8 +1414,8 @@
"type": "LVGLLabelWidget", "type": "LVGLLabelWidget",
"left": 0, "left": 0,
"top": 0, "top": 0,
"width": 74, "width": 60,
"height": 21, "height": 19,
"customInputs": [], "customInputs": [],
"customOutputs": [], "customOutputs": [],
"style": { "style": {
@ -1446,8 +1446,7 @@
"MAIN": { "MAIN": {
"DEFAULT": { "DEFAULT": {
"pad_bottom": 2, "pad_bottom": 2,
"pad_top": -1, "pad_top": 0
"text_font": "FontBook20"
} }
} }
} }

View File

@ -370,8 +370,7 @@ void create_screen_home_screen() {
lv_obj_clear_flag(obj, LV_OBJ_FLAG_CLICK_FOCUSABLE|LV_OBJ_FLAG_PRESS_LOCK|LV_OBJ_FLAG_SCROLLABLE|LV_OBJ_FLAG_SCROLL_CHAIN_HOR|LV_OBJ_FLAG_SCROLL_CHAIN_VER|LV_OBJ_FLAG_SCROLL_ELASTIC|LV_OBJ_FLAG_SCROLL_MOMENTUM|LV_OBJ_FLAG_SCROLL_WITH_ARROW|LV_OBJ_FLAG_SNAPPABLE); lv_obj_clear_flag(obj, LV_OBJ_FLAG_CLICK_FOCUSABLE|LV_OBJ_FLAG_PRESS_LOCK|LV_OBJ_FLAG_SCROLLABLE|LV_OBJ_FLAG_SCROLL_CHAIN_HOR|LV_OBJ_FLAG_SCROLL_CHAIN_VER|LV_OBJ_FLAG_SCROLL_ELASTIC|LV_OBJ_FLAG_SCROLL_MOMENTUM|LV_OBJ_FLAG_SCROLL_WITH_ARROW|LV_OBJ_FLAG_SNAPPABLE);
add_style_label_font16(obj); add_style_label_font16(obj);
lv_obj_set_style_pad_bottom(obj, 2, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(obj, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(obj, -1, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_top(obj, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &ui_font_font_book20, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, ""); lv_label_set_text(obj, "");
} }
} }