When setting dropdownlist with arrow and option’s align_right,
the dropdownlist’s label is overlapped by arrow.
(as picture below )
What MCU/Processor/Board and compiler are you using?
- lvgl 6.0.2 master
What do you experience?
When setting padding’s right , but can’t solve this issue.
What do you expect?
The dropdownlist’s label doesn’t be overlapped by arrow or by scrollbar.
Code to reproduce
lv_obj_t * ddlist = lv_ddlist_create(lv_scr_act(), NULL); lv_ddlist_set_options(ddlist, "Apple\n" "Banana\n" "Orange\n" "Melon\n" "Grape\n" "Raspberry"); lv_ddlist_set_fix_width(ddlist, 150); lv_ddlist_set_fix_height(ddlist, 200); lv_ddlist_set_draw_arrow(ddlist, true); lv_ddlist_set_align(ddlist, LV_LABEL_ALIGN_RIGHT);
Screenshot and/or video