信息添加
This commit is contained in:
1 parent
50040fecb6
commit
b63451ba47
11 files changed
+410
-428
No files matched your search
@@ -217,7 +217,7 @@ void custom_init(lv_ui *ui)
|
||||
lv_obj_set_style_pad_all(ui->screen_w_io_tab_4, 0, LV_PART_MAIN);
|
||||
lv_obj_set_scroll_dir(ui->screen_w_io_tab_4, LV_DIR_NONE);
|
||||
|
||||
//
|
||||
//工单页面的工艺信息列表
|
||||
guider_ui.screen_list_inf = lv_table_create(guider_ui.screen_inf_list);
|
||||
table_style_init(guider_ui.screen_list_inf);
|
||||
lv_obj_add_event_cb(guider_ui.screen_list_inf, table_style_cb, LV_EVENT_DRAW_PART_BEGIN, NULL);
|
||||
@@ -227,7 +227,7 @@ void custom_init(lv_ui *ui)
|
||||
lv_table_set_cell_value(guider_ui.screen_list_inf,0,0,"工单");
|
||||
lv_table_set_cell_value(guider_ui.screen_list_inf,0,1,"工艺");
|
||||
|
||||
//
|
||||
//工单页面的步骤列表
|
||||
guider_ui.screen_w_list_NAME = lv_table_create(guider_ui.screen_tabview_tab_1);
|
||||
lv_obj_set_pos(guider_ui.screen_w_list_NAME, 0, 0);
|
||||
lv_obj_set_size(guider_ui.screen_w_list_NAME, 300, 50);
|
||||
@@ -239,10 +239,6 @@ void custom_init(lv_ui *ui)
|
||||
lv_table_set_cell_value(guider_ui.screen_w_list_NAME,0,0,"步");
|
||||
lv_table_set_cell_value(guider_ui.screen_w_list_NAME,0,1,"工艺");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
guider_ui.screen_w_list = lv_table_create(guider_ui.screen_step_list);
|
||||
table_style_init(guider_ui.screen_w_list);
|
||||
lv_obj_add_event_cb(guider_ui.screen_w_list, table_step_cb, LV_EVENT_DRAW_PART_BEGIN, NULL);
|
||||
@@ -254,9 +250,19 @@ void custom_init(lv_ui *ui)
|
||||
lv_obj_set_style_min_height(guider_ui.screen_w_list, 100, LV_PART_ITEMS | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_max_height(guider_ui.screen_w_list, 100, LV_PART_ITEMS | LV_STATE_DEFAULT);
|
||||
|
||||
//
|
||||
//工单页面的信息
|
||||
lv_obj_set_size(guider_ui.screen_text_inf, 550, 230);
|
||||
lv_label_set_text(guider_ui.screen_text_inf,"");
|
||||
|
||||
//运行页面的步骤列表
|
||||
guider_ui.screen_run_step = lv_table_create(guider_ui.screen_cont_p);
|
||||
table_style_init(guider_ui.screen_run_step);
|
||||
lv_obj_add_event_cb(guider_ui.screen_run_step, table_style_cb, LV_EVENT_DRAW_PART_BEGIN, NULL);
|
||||
lv_table_set_row_cnt(guider_ui.screen_run_step,1);
|
||||
lv_table_set_col_width(guider_ui.screen_run_step, 0, 80);
|
||||
lv_table_set_col_width(guider_ui.screen_run_step, 1, 370);
|
||||
lv_table_set_cell_value(guider_ui.screen_run_step,0,0,"步");
|
||||
lv_table_set_cell_value(guider_ui.screen_run_step,0,1,"工艺");
|
||||
/* Add your codes here */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user