程序页面功能添加
This commit is contained in:
1 parent
8a9a28d6d5
commit
9dcdecf916
8 files changed
+157
-11
No files matched your search
@@ -452,6 +452,8 @@ typedef struct
|
||||
lv_obj_t *screen_list_inf;
|
||||
lv_obj_t *screen_w_list_NAME;
|
||||
lv_obj_t *screen_run_step;
|
||||
lv_obj_t *screen_pname_row;
|
||||
lv_obj_t *screen_pname_step_row;
|
||||
}lv_ui;
|
||||
|
||||
typedef void (*ui_setup_scr_t)(lv_ui * ui);
|
||||
|
||||
@@ -7188,7 +7188,7 @@ void setup_scr_screen(lv_ui *ui)
|
||||
//Write codes screen_w_5
|
||||
ui->screen_w_5 = lv_obj_create(ui->screen_tabview_tab_5);
|
||||
lv_obj_set_pos(ui->screen_w_5, 0, 0);
|
||||
lv_obj_set_size(ui->screen_w_5, 800, 470);
|
||||
lv_obj_set_size(ui->screen_w_5, 800, 460);
|
||||
lv_obj_set_scrollbar_mode(ui->screen_w_5, LV_SCROLLBAR_MODE_OFF);
|
||||
|
||||
//Write style for screen_w_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
@@ -7245,7 +7245,7 @@ void setup_scr_screen(lv_ui *ui)
|
||||
ui->screen_sys_name = lv_label_create(ui->screen_w_5);
|
||||
lv_label_set_text(ui->screen_sys_name, "机台名");
|
||||
lv_label_set_long_mode(ui->screen_sys_name, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_sys_name, 20, 79);
|
||||
lv_obj_set_pos(ui->screen_sys_name, 20, 80);
|
||||
lv_obj_set_size(ui->screen_sys_name, 100, 30);
|
||||
|
||||
//Write style for screen_sys_name, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
@@ -7342,7 +7342,7 @@ void setup_scr_screen(lv_ui *ui)
|
||||
lv_obj_align(ui->screen_sys_save_label, LV_ALIGN_CENTER, 0, 0);
|
||||
lv_obj_set_style_pad_all(ui->screen_sys_save, 0, LV_STATE_DEFAULT);
|
||||
lv_obj_set_width(ui->screen_sys_save_label, LV_PCT(100));
|
||||
lv_obj_set_pos(ui->screen_sys_save, 880, 420);
|
||||
lv_obj_set_pos(ui->screen_sys_save, 880, 400);
|
||||
lv_obj_set_size(ui->screen_sys_save, 100, 50);
|
||||
|
||||
//Write style for screen_sys_save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
|
||||
Reference in new issue
Block a user