From 2d7b3cea2d2d3afe981120dca2da59bb31ec05e3 Mon Sep 17 00:00:00 2001 From: AmnonOwed Date: Fri, 8 Aug 2014 18:46:16 +0200 Subject: [PATCH] Fix unneeded horizontal scroll bar --- pdex/src/processing/mode/experimental/CompletionPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdex/src/processing/mode/experimental/CompletionPanel.java b/pdex/src/processing/mode/experimental/CompletionPanel.java index e6ed321a7..c6d3a0775 100644 --- a/pdex/src/processing/mode/experimental/CompletionPanel.java +++ b/pdex/src/processing/mode/experimental/CompletionPanel.java @@ -212,7 +212,7 @@ public class CompletionPanel { if(w == maxWidth) horizontalScrollBarVisible = true; w += editor.dmode.classIcon.getIconWidth(); // add icon width too! - w += fm.stringWidth(" "); // a bit of offset + w += fm.stringWidth(" "); // a bit of offset //log("popup width " + w); return w; // popup menu width }