mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
Port to MigLayout 5.0
This commit is contained in:
parent
f1bf5e798f
commit
d7215de8c5
@ -96,7 +96,7 @@ class SubtitleAutoMatchDialog extends JDialog {
|
||||
preferredSubtitleNaming.setSelectedItem(SubtitleNaming.MATCH_VIDEO_ADD_LANGUAGE_TAG);
|
||||
|
||||
JComponent content = (JComponent) getContentPane();
|
||||
content.setLayout(new MigLayout("fill, insets 12 15 7 15, nogrid", "", "[fill][pref!]"));
|
||||
content.setLayout(new MigLayout("fill, insets 12 15 7 15, nogrid, novisualpadding", "", "[fill][pref!]"));
|
||||
|
||||
content.add(new JScrollPane(subtitleMappingTable), "grow, wrap");
|
||||
content.add(hashMatcherServicePanel, "gap after rel");
|
||||
@ -111,7 +111,7 @@ class SubtitleAutoMatchDialog extends JDialog {
|
||||
}
|
||||
|
||||
protected JPanel createServicePanel(Color color) {
|
||||
JPanel panel = new JPanel(new MigLayout("hidemode 3"));
|
||||
JPanel panel = new JPanel(new MigLayout("hidemode 3, novisualpadding"));
|
||||
panel.setBorder(new RoundBorder());
|
||||
panel.setOpaque(false);
|
||||
panel.setBackground(color);
|
||||
|
@ -58,7 +58,7 @@ public class SubtitleUploadDialog extends JDialog {
|
||||
subtitleMappingTable = createTable();
|
||||
|
||||
JComponent content = (JComponent) getContentPane();
|
||||
content.setLayout(new MigLayout("fill, insets dialog, nogrid", "", "[fill][pref!]"));
|
||||
content.setLayout(new MigLayout("fill, insets dialog, nogrid, novisualpadding", "", "[fill][pref!]"));
|
||||
|
||||
content.add(new JScrollPane(subtitleMappingTable), "grow, wrap");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user