mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
Fix unneeded horizontal scroll bar
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user