1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

Improved UI

This commit is contained in:
Reinhard Pointner 2016-05-02 00:18:27 +08:00
parent b9099abbb1
commit 8c8695d528

View File

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