mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Serial monitor font is scaled too
This commit is contained in:
parent
5642c291d7
commit
8e4ce4cfd1
@ -43,7 +43,7 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {
|
|||||||
protected void onCreateWindow(Container mainPane) {
|
protected void onCreateWindow(Container mainPane) {
|
||||||
Font consoleFont = Theme.getFont("console.font");
|
Font consoleFont = Theme.getFont("console.font");
|
||||||
Font editorFont = PreferencesData.getFont("editor.font");
|
Font editorFont = PreferencesData.getFont("editor.font");
|
||||||
Font font = new Font(consoleFont.getName(), consoleFont.getStyle(), editorFont.getSize());
|
Font font = Theme.scale(new Font(consoleFont.getName(), consoleFont.getStyle(), editorFont.getSize()));
|
||||||
|
|
||||||
mainPane.setLayout(new BorderLayout());
|
mainPane.setLayout(new BorderLayout());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user