fix completion popup crop to dialog size for single line editors (see copy class...
[idea/community.git] / platform / platform-impl / src / com / intellij / ui / popup / AbstractPopup.java
index db179130e98b17ff91d3767ecc8b0d77dc97025f..7fd4950bad6a613a3961c74ac6a9d9db05f8b517 100644 (file)
@@ -197,7 +197,7 @@ public class AbstractPopup implements JBPopup {
     myPopupBorder = PopupBorder.Factory.create(true);
     myShadowed = showShadow;
     myPaintShadow = showShadow && !SystemInfo.isMac && !movable && !resizable && Registry.is("ide.popup.dropShadow");
-    myContent = createContentPanel(resizable, myPopupBorder, isToDrawMacCorner());
+    myContent = createContentPanel(resizable, myPopupBorder, isToDrawMacCorner() && resizable);
     myMayBeParent = mayBeParent;
 
     myContent.add(component, BorderLayout.CENTER);