[vcs]: IDEA-158896 Move Changes to Active Changelist window does not have a vertical scrollbar

This commit is contained in:
Nadya Zabrodina
2016-08-01 19:45:22 +03:00
parent 7a09fcc63e
commit 701596cb4b
@@ -67,11 +67,6 @@ public class MoveChangesDialog extends DialogWrapper {
}
return null;
}
@Override
public Dimension getPreferredSize() {
return new Dimension(400, 200);
}
};
ArrayList<Change> changes = new ArrayList<Change>();
for (ChangeList list : changeLists) {
@@ -90,6 +85,7 @@ public class MoveChangesDialog extends DialogWrapper {
DefaultActionGroup actionGroup = new DefaultActionGroup(myTreeList.getTreeActions());
panel.add(ActionManager.getInstance().createActionToolbar(ActionPlaces.UNKNOWN, actionGroup, true).getComponent(), BorderLayout.NORTH);
myTreeList.expandAll();
myTreeList.repaint();
return panel;
}