IDEA-191708 VersionControl: visual garbage on the very first opening

of VersionControl toolwindow
This commit is contained in:
Vassiliy.Kudryashov
2018-05-16 20:53:58 +03:00
parent 5752c07cf2
commit e754ccb64d
@@ -261,6 +261,7 @@ public class ToolWindowContentUi extends JPanel implements ContentUI, PropertyCh
final Component each = getComponent(i);
size.height = Math.max(each.getPreferredSize().height, size.height);
}
size.width = Math.max(size.width, getCurrentLayout().getMinimumWidth());
return size;
}