mirror of https://github.com/jetkvm/kvm.git
Make hostname same size as MAC Address
This commit is contained in:
parent
03db0dae8b
commit
abc14bcda7
|
|
@ -1414,8 +1414,8 @@
|
|||
"type": "LVGLLabelWidget",
|
||||
"left": 0,
|
||||
"top": 0,
|
||||
"width": 74,
|
||||
"height": 21,
|
||||
"width": 60,
|
||||
"height": 19,
|
||||
"customInputs": [],
|
||||
"customOutputs": [],
|
||||
"style": {
|
||||
|
|
@ -1446,8 +1446,7 @@
|
|||
"MAIN": {
|
||||
"DEFAULT": {
|
||||
"pad_bottom": 2,
|
||||
"pad_top": -1,
|
||||
"text_font": "FontBook20"
|
||||
"pad_top": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
add_style_label_font16(obj);
|
||||
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_text_font(obj, &ui_font_font_book20, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(obj, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_label_set_text(obj, "");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue