How to change the initial color of my JFXButton?

119 Views Asked by At

I'm working on my database project, I have added 2 JFXButton one for exit and the other to minimize the application, I have added CSS style as transparent, but when it appears on the screen one is having a different color from the other although I copy the button and it has the same parent for both

enter image description here.

1

There are 1 best solutions below

1
Mayar Imad On

I figured out the solution Scene builder -> Properties -> Focus traversable (disable)

enter image description here