Is there a way to make my choicebox maintain the same appearance before and after a user makes a selection, without showing any focus indicator? I have tried adjusting the -fx-focus-color and -fx-faint-focus-color properties based on web searches, but I can't seem to achieve consistent results. Using transparent color seems to work best for me as it avoids any unwanted glow around the choicebox after a selection.
default look, no css settings
before select:https://i.sstatic.net/UKLOi.png
after select:https://i.sstatic.net/O1YH0.png
-fx-focus-color: transparent;
-fx-faint-focus-color: transparent;
before select:https://i.sstatic.net/IUwQe.png
after select:https://i.sstatic.net/WiYQp.png
-fx-faint-focus-color: transparent;
before select:https://i.sstatic.net/b82LA.png
after select:https://i.sstatic.net/HwzL6.png
-fx-focus-color: transparent;
before select:https://i.sstatic.net/WIfxV.png
after select:https://i.sstatic.net/HBlIB.png