sshahine / JFoenix

JavaFX Material Design Library
MIT License
6.27k stars 1.05k forks source link

[Suggestion]hope the jfxbutton displays a shadow when the mouse is hover on it #1093

Closed stars-one closed 4 years ago

stars-one commented 4 years ago

The jfxbutton is so better,but when I use flat button,it make user confused that they don't know it is a button. So I hope the button display a shadow when the mouse is hover,like the UI of web

jfoenixadmin commented 4 years ago

you can change button background on mouse over using css.

.custom-button{
    -fx-background-color: TRANSPARENT;
}
.custom-button:hover{
// change background with some transparency
}