Browse Source

Fixes issue 3627: colour dialogs are too small

Change-Id: I340e4b76f23cfe3b7f093e7cf8350540dfcdae9e
Reviewed-on: http://gerrit.dmdirc.com/668
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.3
Gregory Holmes 14 years ago
parent
commit
c54cfac924

+ 1
- 2
src/com/dmdirc/addons/ui_swing/components/colours/ColourPickerPanel.java View File

@@ -105,8 +105,7 @@ public final class ColourPickerPanel extends JPanel implements MouseListener,
105 105
         this.showIrc = newShowIrc;
106 106
         this.showHex = newShowHex;
107 107
 
108
-        final int height = 65 + (showIrc ? 30 : 0) + (showHex ? 145 : 0) + (showHex & showIrc
109
-                ? 10 : 0);
108
+        final int height = 110 + (showIrc ? 15 : 0) + (showHex ? 125 : 0);
110 109
 
111 110
         setPreferredSize(new Dimension(160, height));
112 111
 

Loading…
Cancel
Save