From 7b9672e4626f6a83d0b84c73cd5bda9ac835b884 Mon Sep 17 00:00:00 2001 From: DamianKomdeur <77113617+DamianKomdeur@users.noreply.github.com> Date: Mon, 9 Dec 2024 00:52:01 +0100 Subject: [PATCH] Text size change --- PuzzlePlayer/Sudoku.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PuzzlePlayer/Sudoku.cs b/PuzzlePlayer/Sudoku.cs index c27127c..30c870d 100644 --- a/PuzzlePlayer/Sudoku.cs +++ b/PuzzlePlayer/Sudoku.cs @@ -14,7 +14,7 @@ namespace PuzzlePlayer_Namespace { private static int boardLength; private static int rootBoardLength; - public Sudoku(int boardSize = 9) + public Sudoku(int boardSize = 16) { boardState = GetClearBoard(boardSize, boardSize); lastGeneratedBoard = GetClearBoard(boardSize, boardSize); @@ -45,7 +45,7 @@ namespace PuzzlePlayer_Namespace { gr.DrawString( (boardState[i, j]).ToString(), - new Font("Arial", 42), + new Font("Arial", tilesize.Width / 2), Brushes.Black, (float)(r.X + i * tilesize.Width + tilesize.Width / 4), (float)(r.Y + j * tilesize.Height + tilesize.Height / 4) -- GitLab