mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 14:25:02 -05:00
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
This commit is contained in:
parent
d3cfec58ea
commit
abc1daa809
@ -13,6 +13,7 @@ import static net.filebot.util.ui.SwingUI.*;
|
|||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.Dialog.ModalExclusionType;
|
import java.awt.Dialog.ModalExclusionType;
|
||||||
|
import java.awt.Dimension;
|
||||||
import java.awt.FlowLayout;
|
import java.awt.FlowLayout;
|
||||||
import java.awt.dnd.DropTarget;
|
import java.awt.dnd.DropTarget;
|
||||||
import java.awt.dnd.DropTargetAdapter;
|
import java.awt.dnd.DropTargetAdapter;
|
||||||
@ -92,6 +93,7 @@ public class MainFrame extends JFrame {
|
|||||||
});
|
});
|
||||||
|
|
||||||
setSize(1060, 650);
|
setSize(1060, 650);
|
||||||
|
setMinimumSize(new Dimension(880, 515));
|
||||||
|
|
||||||
// KEYBOARD SHORTCUTS
|
// KEYBOARD SHORTCUTS
|
||||||
installAction(getRootPane(), getKeyStroke(VK_DELETE, CTRL_MASK | SHIFT_MASK), newAction("Clear Cache", evt -> {
|
installAction(getRootPane(), getKeyStroke(VK_DELETE, CTRL_MASK | SHIFT_MASK), newAction("Clear Cache", evt -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user