mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(examples) add missing lv.PART.INDICATOR (#2423)
This commit is contained in:
parent
145440dbce
commit
4effc87a87
@ -44,7 +44,7 @@ dropdown.set_text("Menu")
|
|||||||
# Use a custom image as down icon and flip it when the list is opened
|
# Use a custom image as down icon and flip it when the list is opened
|
||||||
# LV_IMG_DECLARE(img_caret_down)
|
# LV_IMG_DECLARE(img_caret_down)
|
||||||
dropdown.set_symbol(img_caret_down_argb)
|
dropdown.set_symbol(img_caret_down_argb)
|
||||||
dropdown.set_style_transform_angle(1800, lv.STATE.CHECKED)
|
dropdown.set_style_transform_angle(1800, lv.PART.INDICATOR | lv.STATE.CHECKED)
|
||||||
|
|
||||||
# In a menu we don't need to show the last clicked item
|
# In a menu we don't need to show the last clicked item
|
||||||
dropdown.set_selected_highlight(False)
|
dropdown.set_selected_highlight(False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user