mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-30 03:51:14 +12:00
[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:
parent
8d5690928f
commit
0e7c59af0c
|
@ -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")]
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue