From 79c4cd6117f33e153a0f773f4f7e5d3a88ff16aa Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Wed, 29 Aug 2012 15:32:53 +0400 Subject: [PATCH] IDEA-90758 Tree scrolls to the left when selection moves to a node that doesn't fit the viewport --- .../platform-api/src/com/intellij/ui/treeStructure/Tree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/ui/treeStructure/Tree.java b/platform/platform-api/src/com/intellij/ui/treeStructure/Tree.java index 00d496e01421..3166079e4c99 100644 --- a/platform/platform-api/src/com/intellij/ui/treeStructure/Tree.java +++ b/platform/platform-api/src/com/intellij/ui/treeStructure/Tree.java @@ -57,7 +57,7 @@ public class Tree extends JTree implements ComponentWithEmptyText, ComponentWith private Dimension myHoldSize; private final MySelectionModel mySelectionModel = new MySelectionModel(); - private boolean myHorizontalAutoScrolling = false; + private boolean myHorizontalAutoScrolling = true; public Tree() { initTree_();