Vote count:
0
Somehow accordion seems to behave differently than the other javafx elements, cause I cannot make its background transparent with CSS.
I found a hint somewhere with this:
.accordion.titled-pane > *.content {
-fx-background-color: null;
}
But it didn't work. Maybe the syntax, I don't know, I tried without the > and * too...
My try was doing the same as with panels, so:
#leftTop{
-fx-background-color: rgba(237, 243, 245, 0.8);
}
I set the fx:id. It doesn't work either. I made this with all the child nodes the same too, that are "above" the accordion itself, so with the titled pane and the anchor pane that is on the titled pane.
I have read that javafx had issues, but that comment was from 2013...
(later on I tried to set simply a colour as a background but nothing happens, so its not just with transparency...)
Do you know a solution? Thank you!
asked 45 secs ago
Javafx accordion with transparent background?
Aucun commentaire:
Enregistrer un commentaire