From 19d7f4fee77e59d88a4f955b587f44714718f268 Mon Sep 17 00:00:00 2001 From: mkpaz Date: Wed, 17 May 2023 15:26:45 +0400 Subject: [PATCH] Change tree view alt icon to chevron --- styles/src/components/_data.scss | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/styles/src/components/_data.scss b/styles/src/components/_data.scss index f70a9d0..936d0b0 100755 --- a/styles/src/components/_data.scss +++ b/styles/src/components/_data.scss @@ -447,21 +447,19 @@ $tree-cell-indent: 1.2em !default; // default JavaFX values is 18px &.alt-icon { .tree-cell { - -fx-indent: 1.6em; - >.tree-disclosure-node { - -fx-padding: 0.229em $tree-cell-padding-x 0 $tree-cell-padding-x; + -fx-padding: 0.3em $tree-cell-padding-x 0 $tree-cell-padding-x; } } .tree-cell>.tree-disclosure-node>.arrow { - @include icons.get("plus-box", true); - -fx-padding: 0.4em; + @include icons.get("chevron-right", false); + -fx-padding: 0.333333em; } .tree-cell:expanded>.tree-disclosure-node>.arrow { - @include icons.get("minus-box", true); - -fx-padding: 0.4em; + @include icons.get("expand-more", false); + -fx-padding: 0.333333em; } } } @@ -589,13 +587,13 @@ $tree-cell-indent: 1.2em !default; // default JavaFX values is 18px &.alt-icon { .tree-table-row-cell>.tree-disclosure-node>.arrow { - @include icons.get("plus-box", true); - -fx-padding: 0.5em; + @include icons.get("chevron-right", false); + -fx-padding: 0.333333em; } .tree-table-row-cell:expanded>.tree-disclosure-node>.arrow { - @include icons.get("minus-box", true); - -fx-padding: 0.5em; + @include icons.get("expand-more", false); + -fx-padding: 0.333333em; } } }