As the title already says, my question is
Is there a way to change the highlighting color of the items that are marked/selected inside ListPicker
?
One can somewhat influence the appearance by setting the background of selected items dynamically, but this is no real solution since the default highlighting is still overlayed
ListPicker[Dynamic[x], {1 -> a, 2 -> b, 3 -> c, 4 -> d},
Background -> {Dynamic[First[x]] -> Red}
]
As you can see, the color is not red but a mixture of red and the highlighting blue:
I have already debugged how a ListPicker
is converted into its box-form but the highlighting color cannot be influenced. I grep'ed through all style definitions but couldn't find something that looked promising. Additionally, I looked at the implementation of Experimental`RowSelector
which seems to be a predecessor of ListPicker
but there, the whole dynamic behavior is explicitly given and colors can be changed easily.
My last hope was that we can use Appearance
for this as it is stated in the documentation that
When an object can be in several different states, the setting for Appearance can be given in the form {"con1"->app1,"cond2"->app2,...}.
but if this is possible at all and how to use it is not clear.
Has someone an idea that does not include hacking around and coming up with my own solution? Maybe someone from WRI could comment on this.