1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

material theme, dropdown: enable corner clip on the list

This commit is contained in:
Gabor Kiss-Vamosi 2020-05-14 09:36:44 +02:00
parent 97392f4fdf
commit f252edb5c1

View File

@ -737,6 +737,7 @@ static void ddlist_init(void)
style_init_reset(&ddlist_page);
lv_style_set_text_line_space(&ddlist_page, LV_STATE_DEFAULT, LV_DPX(20));
lv_style_set_clip_corner(&ddlist_page, LV_STATE_DEFAULT, true);
style_init_reset(&ddlist_sel);
lv_style_set_bg_opa(&ddlist_sel, LV_STATE_DEFAULT, LV_OPA_COVER);