# HG changeset patch # User Mike Becker # Date 1595844503 -7200 # Node ID fea6eaa0d5204e040cf998a4455c7c54c849db97 # Parent 959e136425547983212fe31318c02e2fa9bc014e fix: window cannot get smaller than the field diff -r 959e13642554 -r fea6eaa0d520 src/main/java/de/uapcore/sudoku/Sudoku.java --- a/src/main/java/de/uapcore/sudoku/Sudoku.java Mon Jul 27 11:57:42 2020 +0200 +++ b/src/main/java/de/uapcore/sudoku/Sudoku.java Mon Jul 27 12:08:23 2020 +0200 @@ -60,6 +60,7 @@ content.setBackground(Color.WHITE); setLocationByPlatform(true); setDefaultCloseOperation(EXIT_ON_CLOSE); + setMinimumSize(getSize()); } /**