mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
improve vpage layout
This commit is contained in:
parent
5acd64c890
commit
27a5aa839c
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* File: vpage.c
|
||||
* Author: AWTK Develop Team
|
||||
* Brief: 虚拟页面(根据情况自动加载/卸载页面)。
|
||||
@ -153,6 +153,7 @@ static ret_t vpage_on_enter(widget_t* widget, uint32_t index, uint32_t old_index
|
||||
}
|
||||
return RET_FAIL;
|
||||
}
|
||||
widget_layout(children);
|
||||
/*some widget depends on will open to initialize*/
|
||||
widget_dispatch_recursive(children, &will_open);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user