Font scaling is now also scaling icons, and works in most of the UI.

This commit is contained in:
Zukero
2017-08-24 18:37:30 +02:00
parent 8d6a40eb13
commit f53302cb18
12 changed files with 46 additions and 36 deletions

View File

@@ -765,6 +765,7 @@ public class TMXMapEditor extends Editor implements TMXMap.MapChangedOnDiskListe
editorPane.setText(((TMXMap)target).toXml());
editorPane.setEditable(false);
editorPane.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_XML);
editorPane.setFont(editorPane.getFont().deriveFont(ATContentStudio.SCALING * editorPane.getFont().getSize()));
pane.add(editorPane, JideBoxLayout.VARY);
return pane;