set row height to trees

This commit is contained in:
Zlatin Balevsky
2019-11-02 19:06:26 +00:00
parent a9f623a91a
commit 7ade4aa10d
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class AdvancedSharingView {
}
scrollPane( constraints : BorderLayout.CENTER ) {
def jtree = new JTree(model.negativeTree)
tree(rootVisible : false, jtree)
tree(rootVisible : false, rowHeight : rowHeight,jtree)
}
}
}

View File

@@ -251,7 +251,7 @@ class MainFrameView {
scrollPane(constraints : BorderLayout.CENTER) {
def jtree = new JTree(model.sharedTree)
jtree.setCellRenderer(new SharedTreeRenderer())
tree(id : "shared-files-tree", rootVisible : false, expandsSelectedPaths: true, jtree)
tree(id : "shared-files-tree", rowHeight : rowHeight, rootVisible : false, expandsSelectedPaths: true, jtree)
}
}
}