How to suppress Encoder Focused Object Outline

I would like to override the generated focused outline around say a roller that is derived from theme color, and set it manually in Focused Style settings panel. Or at least be able to suppress it, any ideas?.

The simulator does not show the encoder auto generated focused outline, only when when uploaded to the ep32 does it show the outline.

Hi,

This outline is added to LV_STATE_FOCUS_KEY, which is activated when you focus the object with encoder or keypad. In the editor only mouse is used so LV_STATE_FOCUS_KEY is not activated.

Here you can see how the style is set in the theme. You can do the same in you code.