kordamp / ikonli

Icon packs for Java applications

Home Page:http://kordamp.org/ikonli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style: The icons in JavaFx when use ":selected" is not working?

salmantln opened this issue · comments

Style the icons in JavaFx when use ":selected" is not working? Or am i doing something wrong. I try using

".button .ikonli-font-icon:selected {
-fx-icon-code: "gmi-file-download";
-fx-icon-color: red;
-fx-icon-size: 20px;
}" in my stylesheet but it doesn't seem to work.

IkonFont does not expose pseudo selectors such as :selected, that's the job of the Button type.

But can I make sure that I change the IkonFont color on the .button:selected ? like is that possible?