1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

[lv_list] Set vertical layout as default

This commit is contained in:
C47D 2019-07-07 18:50:35 -05:00
parent 3654253472
commit 1dfded27d4

View File

@ -90,6 +90,7 @@ lv_obj_t * lv_list_create(lv_obj_t * par, const lv_obj_t * copy)
ext->styles_btn[LV_BTN_STATE_INA] = &lv_style_btn_ina;
ext->single_mode = false;
ext->size = 0;
ext->layout = LV_LIST_LAYOUT_VER;
#if LV_USE_GROUP
ext->last_sel = NULL;