Recolour config names to white
To keep consistency with the config list names, I changed the color of the specific configurations and titles to white.
This commit is contained in:
@@ -409,6 +409,7 @@ public class ConfigPanel extends PluginPanel
|
|||||||
removeAll();
|
removeAll();
|
||||||
String name = cd.getGroup().name() + " Configuration";
|
String name = cd.getGroup().name() + " Configuration";
|
||||||
JLabel title = new JLabel(name);
|
JLabel title = new JLabel(name);
|
||||||
|
title.setForeground(Color.WHITE);
|
||||||
title.setToolTipText(cd.getGroup().description());
|
title.setToolTipText(cd.getGroup().description());
|
||||||
add(title, SwingConstants.CENTER);
|
add(title, SwingConstants.CENTER);
|
||||||
|
|
||||||
@@ -423,6 +424,7 @@ public class ConfigPanel extends PluginPanel
|
|||||||
item.setLayout(new BorderLayout());
|
item.setLayout(new BorderLayout());
|
||||||
name = cid.getItem().name();
|
name = cid.getItem().name();
|
||||||
JLabel configEntryName = new JLabel(name);
|
JLabel configEntryName = new JLabel(name);
|
||||||
|
configEntryName.setForeground(Color.WHITE);
|
||||||
configEntryName.setToolTipText("<html>" + name + ":<br>" + cid.getItem().description() + "</html>");
|
configEntryName.setToolTipText("<html>" + name + ":<br>" + cid.getItem().description() + "</html>");
|
||||||
item.add(configEntryName, BorderLayout.CENTER);
|
item.add(configEntryName, BorderLayout.CENTER);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user