Replace "close" icon to "delete" icon on ModItem

This commit is contained in:
huanghongxun
2019-02-13 17:51:01 +08:00
parent 625215b068
commit 6edfd112a2

View File

@@ -52,7 +52,7 @@ public final class ModItem extends BorderPane {
btnRemove.setOnMouseClicked(e -> deleteCallback.accept(this));
btnRemove.getStyleClass().add("toggle-icon4");
BorderPane.setAlignment(btnRemove, Pos.CENTER);
btnRemove.setGraphic(SVG.close(Theme.blackFillBinding(), 15, 15));
btnRemove.setGraphic(SVG.delete(Theme.blackFillBinding(), 15, 15));
setRight(btnRemove);
setStyle("-fx-background-radius: 2; -fx-background-color: white; -fx-padding: 8;");