-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
I followed the docs on https://kordamp.org/ikonli/#_authoring to try and get my custom icon into my button. But when I try it, I get and use CAPTCHA("my-icon-captcha", '\uE001'); i get a checkmark icon:

I use the site https://fontello.com/ to create my custom icon.

public enum MyIcon implements Ikon {
CAPTCHA("my-icon-google_recaptcha-icon", '\uE800');
public static MyIcon findByDescription(String description) {
for (MyIcon font : values()) {
if (font.getDescription().equals(description)) {
return font;
}
}
throw new IllegalArgumentException("Icon description '" + description + "' is invalid!");
}
private String description;
private int code;
MyIcon(String description, int code) {
this.description = description;
this.code = code;
}
@Override
public String getDescription() {
return description;
}
@Override
public int getCode() {
return code;
}
}This is what I get when i am trying to use MyIcon:

how can i make sure that i get my own icon?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels