显示信息添加
This commit is contained in:
1 parent
0f55442fc6
commit
d0495cd3fc
7 files changed
+52
-13
No files matched your search
@@ -903,7 +903,7 @@ void setup_scr_screen(lv_ui *ui)
|
||||
//Write codes screen_w_io
|
||||
ui->screen_w_io = lv_tabview_create(ui->screen_tabview_tab_3, LV_DIR_RIGHT, 50);
|
||||
lv_obj_set_pos(ui->screen_w_io, 0, 1);
|
||||
lv_obj_set_size(ui->screen_w_io, 984, 460);
|
||||
lv_obj_set_size(ui->screen_w_io, 980, 450);
|
||||
lv_obj_set_scrollbar_mode(ui->screen_w_io, LV_SCROLLBAR_MODE_OFF);
|
||||
|
||||
//Write style for screen_w_io, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
void setup_user_screen(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_textarea_set_text(ui->screen_machine_id, machine_ID);//设备id
|
||||
lv_textarea_set_text(ui->screen_machine_name, machine_name);//设备名
|
||||
|
||||
|
||||
Reference in new issue
Block a user