mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
Improved UI
This commit is contained in:
parent
b9099abbb1
commit
8c8695d528
@ -95,15 +95,14 @@ class SubtitleAutoMatchDialog extends JDialog {
|
|||||||
preferredSubtitleNaming.setSelectedItem(SubtitleNaming.MATCH_VIDEO_ADD_LANGUAGE_TAG);
|
preferredSubtitleNaming.setSelectedItem(SubtitleNaming.MATCH_VIDEO_ADD_LANGUAGE_TAG);
|
||||||
|
|
||||||
JComponent content = (JComponent) getContentPane();
|
JComponent content = (JComponent) getContentPane();
|
||||||
content.setLayout(new MigLayout("fill, insets dialog, nogrid", "", "[fill][pref!]"));
|
content.setLayout(new MigLayout("fill, insets 12 15 7 15, nogrid", "", "[fill][pref!]"));
|
||||||
|
|
||||||
content.add(new JScrollPane(subtitleMappingTable), "grow, wrap");
|
content.add(new JScrollPane(subtitleMappingTable), "grow, wrap");
|
||||||
content.add(hashMatcherServicePanel, "gap after rel");
|
content.add(hashMatcherServicePanel, "gap after rel");
|
||||||
content.add(nameMatcherServicePanel, "gap after indent*2");
|
content.add(nameMatcherServicePanel, "gap after indent*2");
|
||||||
|
|
||||||
JLabel namingLabel = new JLabel("Subtitle Naming:");
|
preferredSubtitleNaming.setBorder(createCompoundBorder(createTitledBorder("Subtitle Naming"), preferredSubtitleNaming.getBorder()));
|
||||||
namingLabel.setHorizontalAlignment(JLabel.RIGHT);
|
content.add(new JLabel(), "grow"); // SPACER
|
||||||
content.add(namingLabel, "gap after rel, grow");
|
|
||||||
content.add(preferredSubtitleNaming, "gap after indent*2");
|
content.add(preferredSubtitleNaming, "gap after indent*2");
|
||||||
|
|
||||||
content.add(new JButton(downloadAction), "tag ok");
|
content.add(new JButton(downloadAction), "tag ok");
|
||||||
|
Loading…
Reference in New Issue
Block a user