1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-17 06:52:18 +01:00

Serial button on the right.

This commit is contained in:
Cristian Maglie 2011-08-22 18:24:13 +02:00
parent 4b0a87b405
commit 6886910f3d

View File

@ -170,6 +170,10 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
x2[i] = x1[i] + BUTTON_WIDTH;
offsetX = x2[i];
}
// Serial button must be on the right
x1[SERIAL] = width - BUTTON_WIDTH - 3;
x2[SERIAL] = width - 3;
}
Graphics g = offscreen.getGraphics();
g.setColor(bgcolor); //getBackground());