添加资源.修改机台状态页面
This commit is contained in:
1 parent
f810d0006d
commit
c651fca3cd
8 files changed
+6361
-1972
No files matched your search
@@ -39,12 +39,19 @@ void custom_init(lv_ui *ui)
|
||||
{
|
||||
lv_obj_clear_flag(lv_tabview_get_content(ui->screen_tabview), LV_OBJ_FLAG_SCROLLABLE);//禁止左右滑动
|
||||
lv_obj_clear_flag(lv_tabview_get_content(ui->screen_w_io), LV_OBJ_FLAG_SCROLLABLE);//禁止左右滑动
|
||||
|
||||
|
||||
lv_obj_set_style_pad_all(ui->screen_tabview_tab_1, 0, LV_PART_MAIN);
|
||||
lv_obj_set_style_pad_all(ui->screen_tabview_tab_2, 0, LV_PART_MAIN);
|
||||
lv_obj_set_style_pad_all(ui->screen_tabview_tab_3, 0, LV_PART_MAIN);
|
||||
lv_obj_set_style_pad_all(ui->screen_tabview_tab_4, 0, LV_PART_MAIN);
|
||||
|
||||
lv_obj_set_style_pad_all(ui->screen_w_io_tab_1, 0, LV_PART_MAIN);
|
||||
lv_obj_set_scroll_dir(ui->screen_w_io_tab_1, LV_DIR_NONE);
|
||||
lv_obj_set_style_pad_all(ui->screen_w_io_tab_2, 0, LV_PART_MAIN);
|
||||
lv_obj_set_scroll_dir(ui->screen_w_io_tab_2, LV_DIR_NONE);
|
||||
lv_obj_set_style_pad_all(ui->screen_w_io_tab_3, 0, LV_PART_MAIN);
|
||||
lv_obj_set_scroll_dir(ui->screen_w_io_tab_3, LV_DIR_NONE);
|
||||
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);
|
||||
/* Add your codes here */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user