|
@@ -35,6 +35,7 @@ import java.awt.event.ActionEvent;
|
35
|
35
|
import java.awt.event.ActionListener;
|
36
|
36
|
|
37
|
37
|
import javax.swing.JButton;
|
|
38
|
+import javax.swing.JScrollPane;
|
38
|
39
|
import javax.swing.JTabbedPane;
|
39
|
40
|
import javax.swing.WindowConstants;
|
40
|
41
|
|
|
@@ -126,7 +127,7 @@ public final class ChannelSettingsDialog extends StandardDialog implements Actio
|
126
|
127
|
|
127
|
128
|
orderButtons(new JButton(), new JButton());
|
128
|
129
|
|
129
|
|
- getContentPane().setLayout(new MigLayout("fill, wrap 1, ins panel"));
|
|
130
|
+ getContentPane().setLayout(new MigLayout("fill, wrap 1, ins panel, hmax 80sp"));
|
130
|
131
|
getContentPane().add(tabbedPane, "grow");
|
131
|
132
|
getContentPane().add(getLeftButton(), "split 3, right");
|
132
|
133
|
getContentPane().add(getRightButton(), "right");
|
|
@@ -154,7 +155,7 @@ public final class ChannelSettingsDialog extends StandardDialog implements Actio
|
154
|
155
|
private void initIrcTab() {
|
155
|
156
|
channelModesPane =
|
156
|
157
|
new ChannelModesPane(channel);
|
157
|
|
- tabbedPane.addTab("Channel Modes", channelModesPane);
|
|
158
|
+ tabbedPane.addTab("Channel Modes", new JScrollPane(channelModesPane));
|
158
|
159
|
}
|
159
|
160
|
|
160
|
161
|
/** Initialises the IRC Settings tab. */
|