Tree: fixed cell editor border

This commit is contained in:
Karl Tauber
2020-07-06 12:01:53 +02:00
parent 7f911b61a2
commit 9e731cb67a
5 changed files with 16 additions and 2 deletions

View File

@@ -76,6 +76,11 @@ import com.formdev.flatlaf.util.UIScale;
* @uiDefault Tree.dropCellBackground Color
* @uiDefault Tree.dropCellForeground Color
*
* <!-- DefaultTreeCellEditor -->
*
* @uiDefault Tree.editorBorder Border
* @uiDefault Tree.editorBorderSelectionColor Color
*
* <!-- FlatTreeUI -->
*
* @uiDefault Tree.border Border

View File

@@ -292,6 +292,7 @@ List.selectionInactiveForeground=@selectionInactiveForeground
List.dropCellBackground=@dropCellBackground
List.dropCellForeground=@dropCellForeground
List.dropLineColor=@dropLineColor
List.showCellFocusIndicator=false
#---- Menu ----
@@ -660,6 +661,7 @@ ToolTipManager.enableToolTipMode=activeApplication
#---- Tree ----
Tree.border=1,1,1,1
Tree.editorBorder=1,1,1,1,@cellFocusColor
Tree.selectionInactiveBackground=@selectionInactiveBackground
Tree.selectionInactiveForeground=@selectionInactiveForeground
Tree.textBackground=$Tree.background
@@ -672,6 +674,7 @@ Tree.rendererMargins=1,2,1,2
Tree.wideSelection=true
Tree.repaintWholeRow=true
Tree.paintLines=false
Tree.showCellFocusIndicator=false
Tree.leftChildIndent=7
Tree.rightChildIndent=11
Tree.rowHeight=0