Mon, 27 Jul 2020 12:08:23 +0200
fix: window cannot get smaller than the field
src/main/java/de/uapcore/sudoku/Sudoku.java | file | annotate | diff | comparison | revisions |
--- 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()); } /**