I’m using LVGL v8.2. I have a dropdown list that is navigated using an encoder. I want the selected/highlighted option to have an outline instead of a gray background, but I’ve tried a combination of setting background colors and opacity for both the dropdown and dropdown list (dropdown list modified in the associated event callback) with no success. I tracked down this line in the LVGL code, which draws the shaded box I want to remove. Commenting out lv_draw_rect(draw_ctx, &sel_rect, &rect_area);
works, but I want to accomplish it without modifying upstream code and with a border/outline replacing it.
EDIT: I misunderstood the selected_highlight option. Setting it to false successfully removes the highlight box, but I’m still not sure how to add a border to the selected item.