api(align) save align in style and handle x/y according to it
This commit is contained in:
@@ -7,7 +7,7 @@ void lv_example_colorwheel_1(void)
|
||||
|
||||
cw = lv_colorwheel_create(lv_scr_act(), true);
|
||||
lv_obj_set_size(cw, 200, 200);
|
||||
lv_obj_align(cw, NULL, LV_ALIGN_CENTER, 0, 0);
|
||||
lv_obj_center(cw);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user