ソースを参照

Fixes CLIENT-158

Change-Id: I98f3031be6fbcd7ceb139dfc88d361e60105ca00
Reviewed-on: http://gerrit.dmdirc.com/1763
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.5
Greg Holmes 13年前
コミット
0759511fdd

+ 4
- 2
src/com/dmdirc/addons/ui_swing/components/substitutions/SubstitutionsPanel.java ファイルの表示

27
 import java.util.List;
27
 import java.util.List;
28
 
28
 
29
 import javax.swing.BorderFactory;
29
 import javax.swing.BorderFactory;
30
+import javax.swing.Box;
30
 import javax.swing.JLabel;
31
 import javax.swing.JLabel;
31
 import javax.swing.JPanel;
32
 import javax.swing.JPanel;
32
 import javax.swing.JSeparator;
33
 import javax.swing.JSeparator;
138
                 "editing the field, to insert it.");
139
                 "editing the field, to insert it.");
139
         if (alignment.equals(Alignment.VERTICAL)) {
140
         if (alignment.equals(Alignment.VERTICAL)) {
140
             add(textLabel, "spany, aligny top, wmin 225, wmax 225");
141
             add(textLabel, "spany, aligny top, wmin 225, wmax 225");
141
-            add(new JSeparator(JSeparator.VERTICAL), "growy, pushy, spany");
142
+            add(new JSeparator(JSeparator.VERTICAL), "growy, spany");
142
         } else {
143
         } else {
143
             add(textLabel, "spanx, aligny top");
144
             add(textLabel, "spanx, aligny top");
144
-            add(new JSeparator(JSeparator.HORIZONTAL), "growy, pushy, spanx");
145
+            add(new JSeparator(JSeparator.HORIZONTAL), "growy, spanx");
145
         }
146
         }
146
 
147
 
147
         for (SubstitutionLabel label : substitutions) {
148
         for (SubstitutionLabel label : substitutions) {
152
             add(new JLabel("No substitutions."),
153
             add(new JLabel("No substitutions."),
153
                     "growx, pushx, aligny top, align center");
154
                     "growx, pushx, aligny top, align center");
154
         }
155
         }
156
+        add(Box.createVerticalGlue(), "growy, pushy");
155
 
157
 
156
         setVisible(visible);
158
         setVisible(visible);
157
     }
159
     }

読み込み中…
キャンセル
保存