From 6a19290585772e8d9ef4ce8e16df7c86bb48a21b Mon Sep 17 00:00:00 2001 From: Oleksii Maryshchenko Date: Wed, 24 May 2023 12:50:11 +0200 Subject: [PATCH] AutoSize for column headers. --- NppNavigateTo/Forms/FrmNavigateTo.designer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NppNavigateTo/Forms/FrmNavigateTo.designer.cs b/NppNavigateTo/Forms/FrmNavigateTo.designer.cs index 2131c00..c37a0be 100644 --- a/NppNavigateTo/Forms/FrmNavigateTo.designer.cs +++ b/NppNavigateTo/Forms/FrmNavigateTo.designer.cs @@ -99,7 +99,7 @@ private void InitializeComponent() this.dataGridFileList.RowHeadersWidth = 30; this.dataGridFileList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridFileList.ColumnHeadersHeight = 25; - this.dataGridFileList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; + this.dataGridFileList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridFileList.RowTemplate.ReadOnly = true; this.dataGridFileList.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.dataGridFileList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;