1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* LOOOONG overdue layout bugfix... so easy and it took 3 years :D

This commit is contained in:
Reinhard Pointner 2014-07-23 07:37:31 +00:00
parent 4594fddc9e
commit 8e80a02498

View File

@ -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;