Page MenuHome

UI: Highlight Selected Enum

Authored by Harley Acheson (harley) on Jan 23 2020, 2:02 AM.



William asked me to resubmit. This patch highlights the currently-selected item in emum lists.

It changes them from the behavior shown at the top-left here to top-right. The hover highlight is lower intensity, the currently-selected gets the stronger highlight. Overall the behavior matches that found throughout the interface, including toggle buttons, Outliner, etc.

The four samples in the bottom of the image are other ideas we have tried and explored. None of the other options worked as well to show the most important part: what is already selected. The multiple columns of icons were distracting. And the right-side indications didn't work at all with multicolumn lists.

Following is another capture, showing the Editor list:

Diff Detail

rB Blender

Event Timeline

William Reynish (billreynish) accepted this revision.EditedThu, Jan 23, 7:48 AM

I think this is a reasonable solution, that is nice and straight forward. It doesn’t rely on an extra icon, which means it works ok with our many icon-ridden enum menus.

This revision is now accepted and ready to land.Thu, Jan 23, 7:48 AM

I'm a bit torn with this. I like the idea of indicating the active value. The strong blue highlight does feel a bit weird though, but maybe it's just a matter of getting used to it. I noticed other apps don't seem to indicate the active value either (at least the ones I tried here on Linux). So having one is already unusual, and with the blue highlight it may seem off to some people.

Nevertheless I do think this could be an improvement, just not sure if I like the proposed approach. @Pablo Vazquez (pablovazquez) what's your view?