From 42c6a3703f8d6909b5b13319c0375ab35c7a3663 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 23 Nov 2012 11:53:15 +0000 Subject: [PATCH] * fix GTK LaF layout issues --- .../sourceforge/filebot/ui/subtitle/SubtitleDropTarget.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/ui/subtitle/SubtitleDropTarget.java b/source/net/sourceforge/filebot/ui/subtitle/SubtitleDropTarget.java index ac3cad68..253c95e8 100644 --- a/source/net/sourceforge/filebot/ui/subtitle/SubtitleDropTarget.java +++ b/source/net/sourceforge/filebot/ui/subtitle/SubtitleDropTarget.java @@ -115,7 +115,7 @@ abstract class SubtitleDropTarget extends JButton { // initialize window properties dialog.setIconImage(getImage(getIcon(DropAction.Download))); dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); - dialog.setSize(700, 575); + dialog.setSize(820, 575); // show dialog dialog.setLocation(getOffsetLocation(dialog.getOwner())); @@ -200,7 +200,6 @@ abstract class SubtitleDropTarget extends JButton { return DropAction.Cancel; } - private final DropTargetAdapter dropHandler = new DropTargetAdapter() { @Override @@ -227,6 +226,7 @@ abstract class SubtitleDropTarget extends JButton { } + @Override public void dragExit(DropTargetEvent dte) { // reset to default state setDropAction(DropAction.Download);