Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
index 94ce3d8b8..d84b562d9 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java
@@ -639,9 +639,9 @@ class CompletionProposalPopup implements IContentAssistListener {
fProposalTable.setLayoutData(data);
fProposalShell.setSize(size);
} else {
- int height= fProposalTable.getItemHeight() * 15;
- // use golden ratio as default aspect ratio
- final double aspectRatio= (1 + Math.sqrt(5)) / 2;
+ int height= fProposalTable.getItemHeight() * 10;
+ // use 2 x ratio as default aspect ratio instead of (1 + Math.sqrt(5)) / 2
+ double aspectRatio= 2;
int width= (int) (height * aspectRatio);
// Make sure our bounds still fit to the screen

Back to the top