javafx change image on hover

103

.my-button {
    -fx-graphic: url("abc.png");
}

.my-button:hover {
    -fx-graphic: url("xyz.png");
}

Comments

Submit
0 Comments