From 6e706cfc3160b0a0c8543f06eee7516e036310ad Mon Sep 17 00:00:00 2001 From: Alexey Pegov Date: Tue, 31 Aug 2010 15:02:13 +0400 Subject: [PATCH] IDEA-58069 Use correct combo box popup size for 'run configurations' --- .../platform-impl/src/com/intellij/ui/popup/WizardPopup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ui/popup/WizardPopup.java b/platform/platform-impl/src/com/intellij/ui/popup/WizardPopup.java index c4615849c3b1..a11b837b5275 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/WizardPopup.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/WizardPopup.java @@ -287,7 +287,7 @@ public abstract class WizardPopup extends AbstractPopup implements ActionListene private static Dimension computeNotBiggerDimension(Dimension ofContent) { int resultWidth = ofContent.width > MAX_SIZE.width ? MAX_SIZE.width : ofContent.width; - int resultHeight = ofContent.height > MAX_SIZE.height ? MAX_SIZE.height : ofContent.height; + int resultHeight = ofContent.height > MAX_SIZE.height + 50 ? MAX_SIZE.height : ofContent.height; if (ofContent.height > MAX_SIZE.height) { resultWidth += ScrollPaneFactory.createScrollPane().getVerticalScrollBar().getPreferredSize().getWidth();