1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

* fix GTK LaF layout issues

This commit is contained in:
Reinhard Pointner 2012-11-23 11:53:15 +00:00
parent 5ba5622350
commit 42c6a3703f

View File

@ -115,7 +115,7 @@ abstract class SubtitleDropTarget extends JButton {
// initialize window properties // initialize window properties
dialog.setIconImage(getImage(getIcon(DropAction.Download))); dialog.setIconImage(getImage(getIcon(DropAction.Download)));
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
dialog.setSize(700, 575); dialog.setSize(820, 575);
// show dialog // show dialog
dialog.setLocation(getOffsetLocation(dialog.getOwner())); dialog.setLocation(getOffsetLocation(dialog.getOwner()));
@ -200,7 +200,6 @@ abstract class SubtitleDropTarget extends JButton {
return DropAction.Cancel; return DropAction.Cancel;
} }
private final DropTargetAdapter dropHandler = new DropTargetAdapter() { private final DropTargetAdapter dropHandler = new DropTargetAdapter() {
@Override @Override
@ -227,6 +226,7 @@ abstract class SubtitleDropTarget extends JButton {
} }
@Override
public void dragExit(DropTargetEvent dte) { public void dragExit(DropTargetEvent dte) {
// reset to default state // reset to default state
setDropAction(DropAction.Download); setDropAction(DropAction.Download);