I have a UIList in which I list materials to which I have attached an additional EnumProperty.
My goal is to highlight items in this UIList based on this EnumProperty by changing their background color. Is this possible?
I guess something like
if item.my_enum == "target_value": #I guess here i have to use something instead of layout.prop()?
in the draw_item() function is necessary?