|
@@ -165,7 +165,7 @@ public final class OsdWindow extends JDialog implements MouseListener,
|
165
|
165
|
"bgcolour", Color.decode("#2222aa")));
|
166
|
166
|
|
167
|
167
|
setContentPane(panel);
|
168
|
|
- setLayout(new MigLayout("wmin 500, wmax 500, ins rel, fill, pack"));
|
|
168
|
+ setLayout(new MigLayout("wmin 500, wmax 500, ins rel, fill"));
|
169
|
169
|
|
170
|
170
|
label = new JLabel(text);
|
171
|
171
|
label.setForeground(IdentityManager.getGlobalConfig().getOptionColour("plugin-OSD",
|
|
@@ -177,6 +177,7 @@ public final class OsdWindow extends JDialog implements MouseListener,
|
177
|
177
|
add(label, "alignx center");
|
178
|
178
|
|
179
|
179
|
setVisible(true);
|
|
180
|
+ pack();
|
180
|
181
|
|
181
|
182
|
if (config) {
|
182
|
183
|
this.addMouseMotionListener(this);
|