mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Splash frame: Disclaimer color updated to be the same as filled progress bar text color.
This commit is contained in:
@@ -34,6 +34,7 @@ import javax.swing.JPanel;
|
|||||||
import javax.swing.KeyStroke;
|
import javax.swing.KeyStroke;
|
||||||
import javax.swing.SwingConstants;
|
import javax.swing.SwingConstants;
|
||||||
import javax.swing.SwingUtilities;
|
import javax.swing.SwingUtilities;
|
||||||
|
import javax.swing.UIManager;
|
||||||
|
|
||||||
import forge.gui.toolbox.FProgressBar;
|
import forge.gui.toolbox.FProgressBar;
|
||||||
import forge.gui.toolbox.FSkin;
|
import forge.gui.toolbox.FSkin;
|
||||||
@@ -50,7 +51,6 @@ public class SplashFrame extends JFrame {
|
|||||||
private static final int DISCLAIMER_HEIGHT = 20;
|
private static final int DISCLAIMER_HEIGHT = 20;
|
||||||
private static final int DISCLAIMER_TOP = 300;
|
private static final int DISCLAIMER_TOP = 300;
|
||||||
private static final int DISCLAIMER_FONT_SIZE = 9;
|
private static final int DISCLAIMER_FONT_SIZE = 9;
|
||||||
private static final Color DISCLAIMER_COLOR = Color.white;
|
|
||||||
|
|
||||||
private static final int CLOSEBTN_PADDING_Y = 15;
|
private static final int CLOSEBTN_PADDING_Y = 15;
|
||||||
private static final int CLOSEBTN_SIDELENGTH = 15;
|
private static final int CLOSEBTN_SIDELENGTH = 15;
|
||||||
@@ -100,7 +100,7 @@ public class SplashFrame extends JFrame {
|
|||||||
|
|
||||||
lblDisclaimer.setFont(new Font("Tahoma", Font.PLAIN, SplashFrame.DISCLAIMER_FONT_SIZE));
|
lblDisclaimer.setFont(new Font("Tahoma", Font.PLAIN, SplashFrame.DISCLAIMER_FONT_SIZE));
|
||||||
lblDisclaimer.setHorizontalAlignment(SwingConstants.CENTER);
|
lblDisclaimer.setHorizontalAlignment(SwingConstants.CENTER);
|
||||||
lblDisclaimer.setForeground(SplashFrame.DISCLAIMER_COLOR);
|
lblDisclaimer.setForeground(UIManager.getColor("ProgressBar.selectionForeground"));
|
||||||
pnlContent.add(lblDisclaimer);
|
pnlContent.add(lblDisclaimer);
|
||||||
|
|
||||||
// Add close button
|
// Add close button
|
||||||
|
|||||||
Reference in New Issue
Block a user