From 8c8695d52860f0493c6390b5f6b0245c97e93ca3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 2 May 2016 00:18:27 +0800 Subject: [PATCH] Improved UI --- .../net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java b/source/net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java index 0650ac8c..ce9eabfe 100644 --- a/source/net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java +++ b/source/net/filebot/ui/subtitle/SubtitleAutoMatchDialog.java @@ -95,15 +95,14 @@ class SubtitleAutoMatchDialog extends JDialog { preferredSubtitleNaming.setSelectedItem(SubtitleNaming.MATCH_VIDEO_ADD_LANGUAGE_TAG); 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(hashMatcherServicePanel, "gap after rel"); content.add(nameMatcherServicePanel, "gap after indent*2"); - JLabel namingLabel = new JLabel("Subtitle Naming:"); - namingLabel.setHorizontalAlignment(JLabel.RIGHT); - content.add(namingLabel, "gap after rel, grow"); + preferredSubtitleNaming.setBorder(createCompoundBorder(createTitledBorder("Subtitle Naming"), preferredSubtitleNaming.getBorder())); + content.add(new JLabel(), "grow"); // SPACER content.add(preferredSubtitleNaming, "gap after indent*2"); content.add(new JButton(downloadAction), "tag ok");