Skip to content

Commit 8901a29

Browse files
authored
Merge pull request #69 from scijava/font-fix
OutputPane: Fix hardwired font
2 parents d57a9a5 + 6a58b0c commit 8901a29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/scijava/ui/swing/script/OutputPane.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ public class OutputPane extends JTextArea {
5050

5151
public OutputPane(final LogService log) {
5252
this.log = log;
53-
final Font font = new Font("Courier", Font.PLAIN, 12);
54-
setFont(font);
53+
setFont(new Font(Font.MONOSPACED, Font.PLAIN, getFont().getSize()));
5554
setEditable(false);
5655
setFocusable(true);
5756
setLineWrap(true);

0 commit comments

Comments
 (0)