From a0b15e3f6f660d23861683b820eebe6085633d31 Mon Sep 17 00:00:00 2001 From: "Denis.Zhdanov" Date: Wed, 5 Sep 2012 11:41:49 +0400 Subject: [PATCH] IDEA-19061 Integrate the Rearranger-plugin into core-IDEA Fix UI glitches at the arrangement settings UI (configure arrangement tree in a way to avoid using the same height for all rows) --- .../options/codeStyle/arrangement/ArrangementRuleTree.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementRuleTree.java b/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementRuleTree.java index 188708a4d7d9..969e63c17aac 100644 --- a/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementRuleTree.java +++ b/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementRuleTree.java @@ -138,6 +138,7 @@ public class ArrangementRuleTree { }; myTree.setSelectionModel(mySelectionModel); myTree.setRootVisible(false); + myTree.setRowHeight(0); // Don't insist on the same row height mySelectionModel.addTreeSelectionListener(new TreeSelectionListener() { @Override public void valueChanged(TreeSelectionEvent e) {