From f252edb5c1bbc14110092a375f27e49d8772d991 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 14 May 2020 09:36:44 +0200 Subject: [PATCH] material theme, dropdown: enable corner clip on the list --- src/lv_themes/lv_theme_material.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_themes/lv_theme_material.c b/src/lv_themes/lv_theme_material.c index a8b377e3d..47f45eeeb 100644 --- a/src/lv_themes/lv_theme_material.c +++ b/src/lv_themes/lv_theme_material.c @@ -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);