Different colours on differet widgets


I am disabling some textareas and a dropdown. I’m getting different colours on them when disabled.

What MCU/Processor/Board and compiler are you using?

Windows 10, MSVS

What LVGL version are you using?

LVGL 8.3.6

What do you want to achieve?

Te same colour on all disabled widgets

What have you tried so far?

I’m setting the same style on both for the border colour for the disabled state. I’ve set it to red temporarily to highlight my issue.

The top dropdown enables or disables the other widgets. (They are disabled now as they are red). Some are more pink and the dropdown is red. I initialise the default theme and then make that the parent of my theme. My theme sets the same style for the border for both the dropdown and the textareas.

When I made the basic theme the parent of my theme, the issue disappeared and all borders were bright red (that’s the correct colour). Of course, all the padding and eveything else that is nice about the default theme was gone so I’d like to use the default theme and somehow remove the style that is causing this.

Screenshot and/or video