The Combo Box control has the attribute pairs SelectionColor/SelectionFill, SelectionTagColor/SelectionTagFill, and HoverColor/HoverFill.
The SelectionTagColor/SelectionTagFill is not shown in the properties sidebar and set, by default, to HoverColor/HoverFill.
My own intuition would dictate that SelectionColor/SelectionFill and SelectionTagColor/SelectionTagFill should display SelectedItems in a consistent way.
However, the Combo Box (without dropdown) displays SelectedItems with SelectionTagColor/SelectionTagFill which are by default set to be HoverColor/HoverFill.
This yields a discrepancy in coloring compared to the Combo Box dropdown which uses SelectionColor/SelectionFill for SelectedItems and HoverColor/HoverFill for items focused/hovered on with cursor/mouse/keyboards (this is also the reason there might be more than one hovered item, e.g. for mouse and keyboard)
Manually changing SelectionTagColor/SelectionTagFill to SelectionColor/SelectionFill gives a, to me, more intuitive picture
Question:
Hi @SaWu,
Thanks for the detailed explanation.
It seems the document for Combo Box is not clear enough on this topic:
I will make somes tests on this and share the results once I finished.
Thanks for your patience and understanding.
Regards,
Michael
I just ran into this same situation and came across this post. True that the defaults it sets don't match what the dropdown items do, but under advanced properties, SelectionTagFill and SelectionTagColor can both be set manually.
I have spent many hours trying to use conditional formatting for a dropdown, but I did not see the SelectionTagColor, and it solved my problem. Thanks for the heads up on this! 😀