We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15089f0 commit ddd219dCopy full SHA for ddd219d
app/src/processing/app/EditorHeader.java
@@ -271,6 +271,11 @@ public void paintComponent(Graphics screen) {
271
272
g.setColor(textColor[state]);
273
int baseline = (sizeH + fontAscent) / 2;
274
+
275
+ // FIX for OpenJDK 8 and 11 on Linux (GNOME/KDE) (https://github.com/arduino/Arduino/issues/10209)
276
+ if (OSUtils.isLinux()) {
277
+ baseline = baseline - 2;
278
+ }
279
//g.drawString(sketch.code[i].name, textLeft, baseline);
280
g.drawString(text, textLeft, baseline);
281
0 commit comments