mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 05:45:05 -05:00
* LOOOONG overdue layout bugfix... so easy and it took 3 years :D
This commit is contained in:
parent
4594fddc9e
commit
8e80a02498
@ -199,21 +199,6 @@ public class FormatDialog extends JDialog {
|
|||||||
pane.add(header, "h 60px, growx, dock north");
|
pane.add(header, "h 60px, growx, dock north");
|
||||||
pane.add(content, "grow");
|
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() {
|
addPropertyChangeListener("sample", new PropertyChangeListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -415,7 +400,7 @@ public class FormatDialog extends JDialog {
|
|||||||
|
|
||||||
panel.add(formatLink);
|
panel.add(formatLink);
|
||||||
panel.add(new JLabel("…"));
|
panel.add(new JLabel("…"));
|
||||||
panel.add(formatExample);
|
panel.add(formatExample, "wmin 150px");
|
||||||
}
|
}
|
||||||
|
|
||||||
return panel;
|
return panel;
|
||||||
|
Loading…
Reference in New Issue
Block a user