mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 03:28:53 +08:00
fix scroll_view_on_layout_children
This commit is contained in:
parent
abdbd608f8
commit
6fd3f970d2
@ -88,6 +88,7 @@ static ret_t scroll_view_on_layout_children(widget_t* widget) {
|
||||
scroll_view_t* scroll_view = SCROLL_VIEW(widget);
|
||||
return_value_if_fail(widget != NULL && scroll_view != NULL, RET_BAD_PARAMS);
|
||||
|
||||
scroll_view_set_offset(widget, 0, 0);
|
||||
if (scroll_view->on_layout_children) {
|
||||
scroll_view->on_layout_children(widget);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user