feat(event) add LV_EVENT_LAYOUT_CHANGED and fix tabview's tab position on resize
This commit is contained in:
@@ -14,9 +14,9 @@ void lv_example_obj_1(void)
|
||||
lv_style_set_shadow_spread(&style_shadow, 5);
|
||||
lv_style_set_shadow_color(&style_shadow, lv_palette_main(LV_PALETTE_BLUE));
|
||||
|
||||
lv_obj_t * obj3;
|
||||
obj3 = lv_obj_create(lv_scr_act());
|
||||
lv_obj_add_style(obj3, &style_shadow, 0);
|
||||
lv_obj_align(obj3, LV_ALIGN_CENTER, 60, 30);
|
||||
lv_obj_t * obj2;
|
||||
obj2 = lv_obj_create(lv_scr_act());
|
||||
lv_obj_add_style(obj2, &style_shadow, 0);
|
||||
lv_obj_align(obj2, LV_ALIGN_CENTER, 60, 30);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user