javafx – CSS styling of ControlsFX segmented bar text

How can I change its size and color? Text For ControlsFX segmented bar? Routine method:

“-fx-font-size: 15px”

It doesn’t work.

I don’t care if I change it by CSS style sheet or by code. I have tried both. “-fx-background-color:” works, so my style is having an effect.

I guess I can’t find anywhere, or guess the correct CSS for how to style segmented bar control text.

Thanks!

Write a Comment