Skip to content

Commit abc14bc

Browse files
committed
Make hostname same size as MAC Address
1 parent 03db0da commit abc14bc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

internal/native/eez/jetkvm.eez-project

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,8 +1414,8 @@
14141414
"type": "LVGLLabelWidget",
14151415
"left": 0,
14161416
"top": 0,
1417-
"width": 74,
1418-
"height": 21,
1417+
"width": 60,
1418+
"height": 19,
14191419
"customInputs": [],
14201420
"customOutputs": [],
14211421
"style": {
@@ -1446,8 +1446,7 @@
14461446
"MAIN": {
14471447
"DEFAULT": {
14481448
"pad_bottom": 2,
1449-
"pad_top": -1,
1450-
"text_font": "FontBook20"
1449+
"pad_top": 0
14511450
}
14521451
}
14531452
}

internal/native/eez/src/ui/screens.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,7 @@ void create_screen_home_screen() {
370370
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);
371371
add_style_label_font16(obj);
372372
lv_obj_set_style_pad_bottom(obj, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
373-
lv_obj_set_style_pad_top(obj, -1, LV_PART_MAIN | LV_STATE_DEFAULT);
374-
lv_obj_set_style_text_font(obj, &ui_font_font_book20, LV_PART_MAIN | LV_STATE_DEFAULT);
373+
lv_obj_set_style_pad_top(obj, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
375374
lv_label_set_text(obj, "");
376375
}
377376
}

0 commit comments

Comments
 (0)