mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-23 07:46:36 +08:00
fix(obj) be sure the new objects' size is recalculated
This commit is contained in:
@@ -95,6 +95,7 @@ lv_obj_t * lv_obj_create_from_class(const lv_obj_class_t * class_p, lv_obj_t * p
|
||||
}
|
||||
|
||||
|
||||
lv_obj_mark_layout_as_dirty(obj);
|
||||
lv_theme_apply(obj);
|
||||
lv_obj_construct(obj);
|
||||
lv_group_t * def_group = lv_group_get_default();
|
||||
|
||||
Reference in New Issue
Block a user