diff --git a/source/net/filebot/ui/rename/FormatDialog.java b/source/net/filebot/ui/rename/FormatDialog.java index ee3d266e..86548ee8 100644 --- a/source/net/filebot/ui/rename/FormatDialog.java +++ b/source/net/filebot/ui/rename/FormatDialog.java @@ -199,21 +199,6 @@ public class FormatDialog extends JDialog { pane.add(header, "h 60px, growx, dock north"); pane.add(content, "grow"); - addPropertyChangeListener("sample", new PropertyChangeListener() { - - @Override - public void propertyChange(PropertyChangeEvent evt) { - // set size after initial sample evaluations - invokeLater(400, new Runnable() { - - @Override - public void run() { - FormatDialog.this.pack(); - } - }); - } - }); - addPropertyChangeListener("sample", new PropertyChangeListener() { @Override @@ -415,7 +400,7 @@ public class FormatDialog extends JDialog { panel.add(formatLink); panel.add(new JLabel("…")); - panel.add(formatExample); + panel.add(formatExample, "wmin 150px"); } return panel;