页面布局修改
This commit is contained in:
1 parent
ac7e06bbd2
commit
ca5a8be025
11 files changed
+1715
-6982
No files matched your search
@@ -39,6 +39,12 @@ 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);
|
||||
|
||||
/* Add your codes here */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user