Skip to content

Commit

Permalink
Merge pull request #69 from scijava/font-fix
Browse files Browse the repository at this point in the history
OutputPane: Fix hardwired font
ctrueden authored Mar 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents d57a9a5 + 6a58b0c commit 8901a29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/scijava/ui/swing/script/OutputPane.java
Original file line number Diff line number Diff line change
@@ -50,8 +50,7 @@ public class OutputPane extends JTextArea {

public OutputPane(final LogService log) {
this.log = log;
final Font font = new Font("Courier", Font.PLAIN, 12);
setFont(font);
setFont(new Font(Font.MONOSPACED, Font.PLAIN, getFont().getSize()));
setEditable(false);
setFocusable(true);
setLineWrap(true);

0 comments on commit 8901a29

Please sign in to comment.