From 1dfded27d44f2f50a6cfe1a5de23adbc730bc1e8 Mon Sep 17 00:00:00 2001 From: C47D Date: Sun, 7 Jul 2019 18:50:35 -0500 Subject: [PATCH] [lv_list] Set vertical layout as default --- src/lv_objx/lv_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_objx/lv_list.c b/src/lv_objx/lv_list.c index 60fa00096..554adfeaf 100644 --- a/src/lv_objx/lv_list.c +++ b/src/lv_objx/lv_list.c @@ -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;