Browse Source

Force black text in TitlePanel.

Fixes issue 4218

Change-Id: Icb4e332e6af69f92d957311d4b095470fe0cb8a7
Reviewed-on: http://gerrit.dmdirc.com/1376
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.4
Greg Holmes 14 years ago
parent
commit
7ae9594650
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/com/dmdirc/addons/ui_swing/components/TitlePanel.java

+ 1
- 0
src/com/dmdirc/addons/ui_swing/components/TitlePanel.java View File

@@ -80,6 +80,7 @@ public class TitlePanel extends JPanel {
80 80
         title = new JLabel(text);
81 81
         title.setFont(title.getFont().deriveFont((float) (title.getFont().
82 82
                 getSize() * 1.5)));
83
+        title.setForeground(Color.BLACK);
83 84
 
84 85
         add(title, "grow, push");
85 86
         setBorder(border);

Loading…
Cancel
Save