修改了界面图标分布

This commit is contained in:
muler 2025-04-29 18:00:43 +08:00
parent 286a58b21f
commit bc50d5fcdd
6 changed files with 25 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -3293,25 +3293,25 @@
{ {
"nid": 1050, "nid": 1050,
"strtype": "IMGBUTTON/Image_disabled", "strtype": "IMGBUTTON/Image_disabled",
"strval": "", "strval": "-",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1060, "nid": 1060,
"strtype": "IMGBUTTON/Image_checked_released", "strtype": "IMGBUTTON/Image_checked_released",
"strval": "", "strval": "-",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1070, "nid": 1070,
"strtype": "IMGBUTTON/Image_checked_pressed", "strtype": "IMGBUTTON/Image_checked_pressed",
"strval": "", "strval": "-",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1080, "nid": 1080,
"strtype": "IMGBUTTON/Image_checked_disabled", "strtype": "IMGBUTTON/Image_checked_disabled",
"strval": "", "strval": "-",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
@ -3441,8 +3441,8 @@
"flags": 17, "flags": 17,
"strtype": "OBJECT/Position", "strtype": "OBJECT/Position",
"intarray": [ "intarray": [
-45, -46,
-42 -32
], ],
"InheritedType": 7 "InheritedType": 7
}, },
@ -4028,25 +4028,25 @@
{ {
"nid": 1050, "nid": 1050,
"strtype": "IMGBUTTON/Image_disabled", "strtype": "IMGBUTTON/Image_disabled",
"strval": "-", "strval": "",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1060, "nid": 1060,
"strtype": "IMGBUTTON/Image_checked_released", "strtype": "IMGBUTTON/Image_checked_released",
"strval": "-", "strval": "",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1070, "nid": 1070,
"strtype": "IMGBUTTON/Image_checked_pressed", "strtype": "IMGBUTTON/Image_checked_pressed",
"strval": "-", "strval": "",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
"nid": 1080, "nid": 1080,
"strtype": "IMGBUTTON/Image_checked_disabled", "strtype": "IMGBUTTON/Image_checked_disabled",
"strval": "-", "strval": "",
"InheritedType": 5 "InheritedType": 5
}, },
{ {
@ -4776,7 +4776,7 @@
"strtype": "OBJECT/Position", "strtype": "OBJECT/Position",
"intarray": [ "intarray": [
-118, -118,
-43 -33
], ],
"InheritedType": 7 "InheritedType": 7
}, },
@ -4861,7 +4861,8 @@
"InheritedType": 11 "InheritedType": 11
} }
], ],
"saved_objtypeKey": "PANEL" "saved_objtypeKey": "PANEL",
"tree_closed": true
}, },
{ {
"guid": "GUID64360141-263844S154113", "guid": "GUID64360141-263844S154113",
@ -4904,7 +4905,7 @@
"strtype": "OBJECT/Position", "strtype": "OBJECT/Position",
"intarray": [ "intarray": [
-118, -118,
0 8
], ],
"InheritedType": 7 "InheritedType": 7
}, },
@ -5073,7 +5074,7 @@
"strtype": "OBJECT/Position", "strtype": "OBJECT/Position",
"intarray": [ "intarray": [
-46, -46,
-1 8
], ],
"InheritedType": 7 "InheritedType": 7
}, },
@ -5240,7 +5241,7 @@
"strtype": "OBJECT/Position", "strtype": "OBJECT/Position",
"intarray": [ "intarray": [
323, 323,
-29 -30
], ],
"InheritedType": 7 "InheritedType": 7
}, },
@ -53325,7 +53326,7 @@
"uiExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export", "uiExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"projectExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export", "projectExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"custom_variable_prefix": "uic", "custom_variable_prefix": "uic",
"backup_cnt": 1400, "backup_cnt": 1402,
"autosave_cnt": 0, "autosave_cnt": 0,
"group_color_cnt": 0, "group_color_cnt": 0,
"lvgl_version": "8.3.6", "lvgl_version": "8.3.6",

View File

@ -113,7 +113,7 @@ void ui_pageHome_screen_init(void)
lv_obj_set_width(ui_pageHome_panelRight, 320); lv_obj_set_width(ui_pageHome_panelRight, 320);
lv_obj_set_height(ui_pageHome_panelRight, 360); lv_obj_set_height(ui_pageHome_panelRight, 360);
lv_obj_set_x(ui_pageHome_panelRight, 323); lv_obj_set_x(ui_pageHome_panelRight, 323);
lv_obj_set_y(ui_pageHome_panelRight, -29); lv_obj_set_y(ui_pageHome_panelRight, -30);
lv_obj_set_align(ui_pageHome_panelRight, LV_ALIGN_CENTER); lv_obj_set_align(ui_pageHome_panelRight, LV_ALIGN_CENTER);
lv_obj_clear_flag(ui_pageHome_panelRight, LV_OBJ_FLAG_SCROLLABLE); /// Flags lv_obj_clear_flag(ui_pageHome_panelRight, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_radius(ui_pageHome_panelRight, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_radius(ui_pageHome_panelRight, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
@ -232,8 +232,8 @@ void ui_pageHome_screen_init(void)
lv_imgbtn_set_src(ui_pageHome_ImgButton1, LV_IMGBTN_STATE_CHECKED_RELEASED, NULL, &ui_img_1698809755, NULL); lv_imgbtn_set_src(ui_pageHome_ImgButton1, LV_IMGBTN_STATE_CHECKED_RELEASED, NULL, &ui_img_1698809755, NULL);
lv_obj_set_width(ui_pageHome_ImgButton1, 60); lv_obj_set_width(ui_pageHome_ImgButton1, 60);
lv_obj_set_height(ui_pageHome_ImgButton1, 60); lv_obj_set_height(ui_pageHome_ImgButton1, 60);
lv_obj_set_x(ui_pageHome_ImgButton1, -45); lv_obj_set_x(ui_pageHome_ImgButton1, -46);
lv_obj_set_y(ui_pageHome_ImgButton1, -42); lv_obj_set_y(ui_pageHome_ImgButton1, -32);
lv_obj_set_align(ui_pageHome_ImgButton1, LV_ALIGN_CENTER); lv_obj_set_align(ui_pageHome_ImgButton1, LV_ALIGN_CENTER);
lv_obj_set_style_bg_img_src(ui_pageHome_ImgButton1, &ui_img_1698809755, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_bg_img_src(ui_pageHome_ImgButton1, &ui_img_1698809755, LV_PART_MAIN | LV_STATE_DEFAULT);
@ -283,7 +283,7 @@ void ui_pageHome_screen_init(void)
lv_obj_set_width(ui_pageHome_Panel10, 60); lv_obj_set_width(ui_pageHome_Panel10, 60);
lv_obj_set_height(ui_pageHome_Panel10, 60); lv_obj_set_height(ui_pageHome_Panel10, 60);
lv_obj_set_x(ui_pageHome_Panel10, -118); lv_obj_set_x(ui_pageHome_Panel10, -118);
lv_obj_set_y(ui_pageHome_Panel10, -43); lv_obj_set_y(ui_pageHome_Panel10, -33);
lv_obj_set_align(ui_pageHome_Panel10, LV_ALIGN_CENTER); lv_obj_set_align(ui_pageHome_Panel10, LV_ALIGN_CENTER);
lv_obj_clear_flag(ui_pageHome_Panel10, LV_OBJ_FLAG_SCROLLABLE); /// Flags lv_obj_clear_flag(ui_pageHome_Panel10, LV_OBJ_FLAG_SCROLLABLE); /// Flags
@ -298,7 +298,7 @@ void ui_pageHome_screen_init(void)
lv_obj_set_width(ui_pageHome_labelShutOFF, LV_SIZE_CONTENT); /// 1 lv_obj_set_width(ui_pageHome_labelShutOFF, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_pageHome_labelShutOFF, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_pageHome_labelShutOFF, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_pageHome_labelShutOFF, -118); lv_obj_set_x(ui_pageHome_labelShutOFF, -118);
lv_obj_set_y(ui_pageHome_labelShutOFF, 0); lv_obj_set_y(ui_pageHome_labelShutOFF, 8);
lv_obj_set_align(ui_pageHome_labelShutOFF, LV_ALIGN_CENTER); lv_obj_set_align(ui_pageHome_labelShutOFF, LV_ALIGN_CENTER);
lv_label_set_text(ui_pageHome_labelShutOFF, "关机"); lv_label_set_text(ui_pageHome_labelShutOFF, "关机");
lv_obj_set_style_text_color(ui_pageHome_labelShutOFF, lv_color_hex(0xFCFBFB), LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui_pageHome_labelShutOFF, lv_color_hex(0xFCFBFB), LV_PART_MAIN | LV_STATE_DEFAULT);
@ -309,7 +309,7 @@ void ui_pageHome_screen_init(void)
lv_obj_set_width(ui_pageHome_labelShutOFF1, LV_SIZE_CONTENT); /// 1 lv_obj_set_width(ui_pageHome_labelShutOFF1, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_pageHome_labelShutOFF1, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_pageHome_labelShutOFF1, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_pageHome_labelShutOFF1, -46); lv_obj_set_x(ui_pageHome_labelShutOFF1, -46);
lv_obj_set_y(ui_pageHome_labelShutOFF1, -1); lv_obj_set_y(ui_pageHome_labelShutOFF1, 8);
lv_obj_set_align(ui_pageHome_labelShutOFF1, LV_ALIGN_CENTER); lv_obj_set_align(ui_pageHome_labelShutOFF1, LV_ALIGN_CENTER);
lv_label_set_text(ui_pageHome_labelShutOFF1, "模拟肺"); lv_label_set_text(ui_pageHome_labelShutOFF1, "模拟肺");
lv_obj_set_style_text_color(ui_pageHome_labelShutOFF1, lv_color_hex(0xFCFBFB), LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui_pageHome_labelShutOFF1, lv_color_hex(0xFCFBFB), LV_PART_MAIN | LV_STATE_DEFAULT);