I have some text On my JFXToggleNode and I want to bold the text when it is selected
What I have try so far
.menuToggle:selected .text {
-fx-font-weight: bold;
}
Actual result: nothing changes.
I don't understand why, any advice is appreciated.
It turns out I was editing the file in the out folder, that is why it is not applying. Now it is working.