UI tweaks

This commit is contained in:
Serge
2024-03-05 00:31:25 +01:00
parent 8ab1f1fc81
commit 64f4572113
3 changed files with 14 additions and 1 deletions

View File

@@ -1008,7 +1008,7 @@ namespace GHelper
try
{
if (chartCount > 2)
Size = MinimumSize = new Size(Size.Width, (int)(ControlHelper.GetDpiScale(this).Value * (chartCount * 200 + 100)));
Size = MinimumSize = new Size(Size.Width, Math.Max(MinimumSize.Height, (int)(ControlHelper.GetDpiScale(this).Value * (chartCount * 200 + 100))));
}
catch (Exception ex)
{