mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-13 12:55:00 -05:00
Fix various Dark Mode issues
This commit is contained in:
parent
8854b6707d
commit
e55993c914
@ -2,8 +2,8 @@ package net.filebot.platform.windows;
|
||||
|
||||
import static javax.swing.BorderFactory.*;
|
||||
import static net.filebot.Logging.*;
|
||||
import static net.filebot.ui.ThemeSupport.*;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
@ -74,7 +74,7 @@ public class WinAppUtilities {
|
||||
}
|
||||
|
||||
// improved UI defaults
|
||||
UIManager.put("TitledBorder.border", createCompoundBorder(createLineBorder(new Color(0xD7D7D7), 1, true), createCompoundBorder(createMatteBorder(6, 5, 6, 5, new Color(0xE5E5E5)), createEmptyBorder(0, 2, 0, 2))));
|
||||
UIManager.put("TitledBorder.border", createCompoundBorder(createLineBorder(getColor(0xD7D7D7), 1, true), createCompoundBorder(createMatteBorder(6, 5, 6, 5, getColor(0xE5E5E5)), createEmptyBorder(0, 2, 0, 2))));
|
||||
}
|
||||
|
||||
private WinAppUtilities() {
|
||||
|
@ -8,6 +8,7 @@ import static javax.swing.KeyStroke.*;
|
||||
import static javax.swing.ScrollPaneConstants.*;
|
||||
import static net.filebot.Logging.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.ui.ThemeSupport.*;
|
||||
import static net.filebot.util.ui.SwingUI.*;
|
||||
|
||||
import java.awt.Color;
|
||||
@ -61,7 +62,7 @@ public class MainFrame extends JFrame {
|
||||
|
||||
JScrollPane selectionListScrollPane = new JScrollPane(selectionList, VERTICAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_NEVER);
|
||||
selectionListScrollPane.setOpaque(false);
|
||||
selectionListScrollPane.setBorder(createCompoundBorder(new ShadowBorder(), isMacApp() ? createLineBorder(new Color(0x809DB8), 1, false) : selectionListScrollPane.getBorder()));
|
||||
selectionListScrollPane.setBorder(createCompoundBorder(new ShadowBorder(), isMacApp() ? createLineBorder(getColor(0x809DB8), 1, false) : selectionListScrollPane.getBorder()));
|
||||
|
||||
headerPanel.getTitleLabel().setBorder(createEmptyBorder(8, 90, 10, 0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user