Fix some UI preference issues

This commit is contained in:
SiboVG 2023-09-24 22:03:04 +02:00
parent d9a86021f3
commit eeea22087d
2 changed files with 2 additions and 1 deletions

View File

@ -142,6 +142,7 @@ public class AboutDialog extends JDialog {
DescriptionArea info = new DescriptionArea(5);
info.setBorder(GUIUtil.getUITheme().getBorder());
info.setText(CREDITS);
info.setTextFont(UIManager.getFont("Label.font"));
panel.add(info, "newline, width 10px, height 250lp, pushy, grow, spanx, wrap para");

View File

@ -330,7 +330,7 @@ class SimulationOptionsPanel extends JPanel {
if (simulation.getSimulationExtensions().isEmpty()) {
StyledLabel l = new StyledLabel(trans.get("simedtdlg.SimExt.noExtensions"), Style.ITALIC);
l.setForeground(Color.DARK_GRAY);
l.setForeground(GUIUtil.getUITheme().getDimTextColor());
currentExtensions.add(l, "growx, pad 5 5 5 5, wrap");
} else {
for (SimulationExtension e : simulation.getSimulationExtensions()) {