Browse Source

Add a max width to the url protocol config panels in the prefs dialog

Fixes issue 3763

Change-Id: I6af15c109d7e38666c2ae2cae0c95534a579109b
Reviewed-on: http://gerrit.dmdirc.com/877
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.3
Gregory Holmes 14 years ago
parent
commit
a6b0a1bfcf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/com/dmdirc/addons/ui_swing/dialogs/prefs/URLConfigPanel.java

+ 2
- 2
src/com/dmdirc/addons/ui_swing/dialogs/prefs/URLConfigPanel.java View File

@@ -171,12 +171,12 @@ public class URLConfigPanel extends JPanel implements
171 171
      */
172 172
     private void layoutComponents() {
173 173
         removeAll();
174
-        setLayout(new MigLayout("ins 0, wrap 1"));
174
+        setLayout(new MigLayout("ins 0, wrap 1, nocache"));
175 175
 
176 176
         add(tableScrollPane, "growx, pushx, h 150!");
177 177
         add(add, "split 2, growx, pushx");
178 178
         add(remove, "growx, pushx");
179
-        add(activeComponent, "growx, pushx");
179
+        add(activeComponent, "growx, pushx, wmax 100%");
180 180
     }
181 181
 
182 182
     /** {@inheritDoc} */

Loading…
Cancel
Save