mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
Fix fonts in java GUIs #192
I fixed a hard coded size=12 font in the sim control panel.
This commit is contained in:
parent
a1bc45548b
commit
c5fbaeb7d6
@ -1173,11 +1173,11 @@ public class SimControlApplication extends TrickApplication implements PropertyC
|
||||
statusMsgPane.setEditorKit(new StyledEditorKit());
|
||||
statusMsgPane.putClientProperty(JXEditorPane.HONOR_DISPLAY_PROPERTIES, true);
|
||||
statusMsgPane.setBackground(Color.black);
|
||||
//statusMsgPane.setContentType("text/html");
|
||||
|
||||
Font font = new Font("Monospaced", Font.PLAIN, 12);
|
||||
|
||||
int curr_font_size = statusMsgPane.getFont().getSize() ;
|
||||
Font font = new Font("Monospaced", Font.PLAIN, curr_font_size);
|
||||
statusMsgPane.setFont(font);
|
||||
|
||||
|
||||
JPanel statusMsgPanel = UIUtils.createSearchableTitledPanel("Status Messages", statusMsgPane, new FindBar(statusMsgPane.getSearchable()));
|
||||
return statusMsgPanel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user