From 8275d73b6498a993294e5f2b8af44e78e944cbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Sun, 13 Oct 2024 11:36:00 +0200 Subject: [PATCH] FIX: Set default row height to 22 This matches the line height. So far a magic number --- base/src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/constants.rs b/base/src/constants.rs index ef58273..6533236 100644 --- a/base/src/constants.rs +++ b/base/src/constants.rs @@ -3,7 +3,7 @@ /// A column width of Excel value `w` will result in `w * COLUMN_WIDTH_FACTOR` pixels /// Note that these constants are inlined pub(crate) const DEFAULT_COLUMN_WIDTH: f64 = 100.0; -pub(crate) const DEFAULT_ROW_HEIGHT: f64 = 21.0; +pub(crate) const DEFAULT_ROW_HEIGHT: f64 = 22.0; pub(crate) const COLUMN_WIDTH_FACTOR: f64 = 12.0; pub(crate) const ROW_HEIGHT_FACTOR: f64 = 2.0; pub(crate) const DEFAULT_WINDOW_HEIGH: i64 = 600;