From abc1daa8096e425282eb6b89daeeb0b69851328f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 26 May 2017 11:48:26 +0800 Subject: [PATCH] Set minimum size to [880, 515] because uses think it's a graphics bug window size can be reduced beyond the minimum size that the UI widgets allow --- source/net/filebot/ui/MainFrame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/net/filebot/ui/MainFrame.java b/source/net/filebot/ui/MainFrame.java index f5b870e8..d406af4d 100644 --- a/source/net/filebot/ui/MainFrame.java +++ b/source/net/filebot/ui/MainFrame.java @@ -13,6 +13,7 @@ import static net.filebot.util.ui.SwingUI.*; import java.awt.Color; import java.awt.Dialog.ModalExclusionType; +import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.dnd.DropTarget; import java.awt.dnd.DropTargetAdapter; @@ -92,6 +93,7 @@ public class MainFrame extends JFrame { }); setSize(1060, 650); + setMinimumSize(new Dimension(880, 515)); // KEYBOARD SHORTCUTS installAction(getRootPane(), getKeyStroke(VK_DELETE, CTRL_MASK | SHIFT_MASK), newAction("Clear Cache", evt -> {