Fix unneeded horizontal scroll bar

This commit is contained in:
AmnonOwed
2014-08-08 18:46:16 +02:00
parent d6d912a173
commit 2d7b3cea2d

View File

@@ -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
}