From b16cfb4e537511c3862027a3efa0d57096ace703 Mon Sep 17 00:00:00 2001 From: Laurence Luo Date: Mon, 9 Dec 2024 11:36:19 +0800 Subject: [PATCH] Fix ColumnHeadersHeight --- KindleMate2/FrmMain.cs | 2 +- KindleMate2/KindleMate2.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KindleMate2/FrmMain.cs b/KindleMate2/FrmMain.cs index adbd3fc..8e43760 100644 --- a/KindleMate2/FrmMain.cs +++ b/KindleMate2/FrmMain.cs @@ -141,7 +141,7 @@ public FrmMain() { cmbSearch.Items.Add(Strings.Content); cmbSearch.SelectedIndex = 0; - dataGridView.ColumnHeadersHeight = 23; + dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; lblContent.GotFocus += LblContent_GotFocus; lblContent.LostFocus += LblContent_LostFocus; diff --git a/KindleMate2/KindleMate2.csproj b/KindleMate2/KindleMate2.csproj index 0bf8aac..b53d2a4 100644 --- a/KindleMate2/KindleMate2.csproj +++ b/KindleMate2/KindleMate2.csproj @@ -22,7 +22,7 @@ latest https://github.com/lzcapp/KindleMate2/blob/main/LICENSE - 2024.11.21 + 2024.12.09 false