Increase board cell dimensions

Double the height from 4 to 8 and the width from 7 to 14 to improve
readability of the board display.
This commit is contained in:
2026-03-27 16:58:22 +01:00
parent 5a40760151
commit b71130d3d6
+2 -2
View File
@@ -17,8 +17,8 @@ pub struct BoardWidget {
impl BoardWidget { impl BoardWidget {
pub fn new(app: &mut App, area_width: u16, area_height: u16) -> Self { pub fn new(app: &mut App, area_width: u16, area_height: u16) -> Self {
const CELL_HIGHT: u16 = 4; const CELL_HIGHT: u16 = 8; // 4
const CELL_WIDTH: u16 = 7; const CELL_WIDTH: u16 = 14; // 7
let rows: u16 = area_height / CELL_HIGHT; let rows: u16 = area_height / CELL_HIGHT;
let cols: u16 = area_width / CELL_WIDTH; let cols: u16 = area_width / CELL_WIDTH;