Bug 538594 - [content assist] Default size is too small

This change increases the content assist width from height x 1.62 to
height x 2.

Change-Id: I054c3464998c27bbb1a95378371254507051a129
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
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 94ce3d8..d84b562 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 @@
 			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