🐛 Fix tree cell arrow icon still using old MFXResources (#326)

Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
This commit is contained in:
palexdev 2023-11-13 11:59:04 +01:00
parent 5fcc02a7d3
commit 6a6b5b5675
3 changed files with 11 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class MFXSimpleTreeCell<T> extends AbstractMFXTreeCell<T> {
MFXIconWrapper disclosureNode = getDisclosureNode();
if (!item.getItems().isEmpty()) {
MFXFontIcon icon = new MFXFontIcon("mfx-chevron-right", 12.5);
MFXFontIcon icon = new MFXFontIcon();
icon.getStyleClass().add("disclosure-icon");
disclosureNode.setIcon(icon);
} else {

View File

@ -1800,4 +1800,9 @@ Virtual Flow
.mfx-tree-cell * {
-fx-font-smoothing-type: gray;
}
.mfx-tree-cell .disclosure-icon {
-mfx-description: "fas-chevron-right";
-mfx-size: 13px;
}

View File

@ -36,4 +36,9 @@
.mfx-tree-cell * {
-fx-font-smoothing-type: gray;
}
.mfx-tree-cell .disclosure-icon {
-mfx-description: "fas-chevron-right";
-mfx-size: 13px;
}