mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-1981 converting option colors to theme colors and font usages to
theme properties
This commit is contained in:
parent
79b95702ba
commit
45395d7575
110 changed files with 888 additions and 1151 deletions
|
@ -30,6 +30,7 @@ import docking.action.DockingAction;
|
|||
import docking.action.ToolBarData;
|
||||
import docking.widgets.checkbox.GCheckBox;
|
||||
import generic.theme.GIcon;
|
||||
import generic.theme.Gui;
|
||||
import ghidra.app.util.HelpTopics;
|
||||
import ghidra.framework.plugintool.ComponentProviderAdapter;
|
||||
import ghidra.framework.plugintool.Plugin;
|
||||
|
@ -288,13 +289,12 @@ public class DiffDetailsProvider extends ComponentProviderAdapter {
|
|||
}
|
||||
|
||||
private JScrollPane createDetailsPane() {
|
||||
Font font = new Font("Monospaced", Font.PLAIN, 12);
|
||||
textPane = new JTextPane();
|
||||
doc = textPane.getStyledDocument();
|
||||
textPane.setName(DIFF_DETAILS_TEXT_AREA);
|
||||
textPane.setEditable(false);
|
||||
textPane.setMargin(new Insets(5, 5, 5, 5));
|
||||
textPane.setFont(font);
|
||||
Gui.registerFont(textPane, "font.monospaced");
|
||||
textPane.setOpaque(true);
|
||||
textPane.setCaretPosition(0);
|
||||
JScrollPane scrolledDetails = new JScrollPane(textPane);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue