mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 05:26:18 +08:00
refactor(layout) rename place keywords to align
This commit is contained in:
@@ -9,7 +9,7 @@ void lv_example_flex_2(void)
|
||||
static lv_style_t style;
|
||||
lv_style_init(&style);
|
||||
lv_style_set_flex_flow(&style, LV_FLEX_FLOW_ROW_WRAP);
|
||||
lv_style_set_flex_main_place(&style, LV_FLEX_PLACE_SPACE_EVENLY);
|
||||
lv_style_set_flex_main_place(&style, LV_FLEX_ALIGN_SPACE_EVENLY);
|
||||
lv_style_set_layout(&style, LV_LAYOUT_FLEX);
|
||||
|
||||
lv_obj_t * cont = lv_obj_create(lv_scr_act());
|
||||
|
||||
Reference in New Issue
Block a user