mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
fix(msgbox) fix the alignment of the items
This commit is contained in:
@@ -58,6 +58,7 @@ lv_obj_t * lv_msgbox_create(const char * title, const char * txt, const char * b
|
||||
|
||||
lv_obj_set_size(mbox, w, LV_SIZE_CONTENT);
|
||||
lv_obj_set_flex_flow(mbox, LV_FLEX_FLOW_ROW_WRAP);
|
||||
lv_obj_set_flex_place(mbox, LV_FLEX_PLACE_START, LV_FLEX_PLACE_CENTER, LV_FLEX_PLACE_START);
|
||||
|
||||
lv_obj_t * label;
|
||||
label = lv_label_create(mbox);
|
||||
|
||||
Reference in New Issue
Block a user