[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

This commit is contained in:
Markus Hofknecht 2021-10-04 21:31:22 +02:00
parent 8d5690928f
commit 0e7c59af0c
2 changed files with 3 additions and 3 deletions

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.19.4")] [assembly: AssemblyVersion("1.0.19.5")]
[assembly: AssemblyFileVersion("1.0.19.4")] [assembly: AssemblyFileVersion("1.0.19.5")]

View file

@ -26,7 +26,7 @@ namespace SystemTrayMenu.Utilities
foreach (DataGridViewRow row in rows) foreach (DataGridViewRow row in rows)
{ {
float checkWidth = gfx.MeasureString( float checkWidth = gfx.MeasureString(
row.Cells[i].Value.ToString() + "_", row.Cells[i].Value.ToString() + "__",
dgv.RowTemplate.DefaultCellStyle.Font) dgv.RowTemplate.DefaultCellStyle.Font)
.Width; .Width;
if (checkWidth > widthMax) if (checkWidth > widthMax)