From 0e7c59af0cb77e81c4736b50361b891a1e74b3bc Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Mon, 4 Oct 2021 21:31:22 +0200 Subject: [PATCH] [Feature] e.g. a folder "wwwwww" is cut off with "wwwww ..." but it should be shown in its entirety (#201), version 1.0.19.5 --- Properties/AssemblyInfo.cs | 4 ++-- Utilities/DataGridViewExtensions.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 839ca49..91d48b8 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.19.4")] -[assembly: AssemblyFileVersion("1.0.19.4")] +[assembly: AssemblyVersion("1.0.19.5")] +[assembly: AssemblyFileVersion("1.0.19.5")] diff --git a/Utilities/DataGridViewExtensions.cs b/Utilities/DataGridViewExtensions.cs index e5ef844..9daf4d5 100644 --- a/Utilities/DataGridViewExtensions.cs +++ b/Utilities/DataGridViewExtensions.cs @@ -26,7 +26,7 @@ namespace SystemTrayMenu.Utilities foreach (DataGridViewRow row in rows) { float checkWidth = gfx.MeasureString( - row.Cells[i].Value.ToString() + "_", + row.Cells[i].Value.ToString() + "__", dgv.RowTemplate.DefaultCellStyle.Font) .Width; if (checkWidth > widthMax)