IDEA-90758 Tree scrolls to the left when selection moves to a node that doesn't fit the viewport

This commit is contained in:
Konstantin Bulenkov
2012-08-29 15:32:53 +04:00
parent cfbd3d7c97
commit 79c4cd6117
@@ -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_();