From 0dc9deb1370af70ca06119478b0aaaccc721ff33 Mon Sep 17 00:00:00 2001 From: Manu <52102823+Manu098vm@users.noreply.github.com> Date: Mon, 30 Jan 2023 19:22:02 +0100 Subject: [PATCH] Fix PKMEditor sidebar scaling (#3752) Closes #3750 --- PKHeX.WinForms/Controls/PKM Editor/VerticalTabControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.WinForms/Controls/PKM Editor/VerticalTabControl.cs b/PKHeX.WinForms/Controls/PKM Editor/VerticalTabControl.cs index f8cf3d707..29eedcb82 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/VerticalTabControl.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/VerticalTabControl.cs @@ -43,7 +43,7 @@ protected override void OnDrawItem(DrawItemEventArgs e) protected override void ScaleControl(SizeF factor, BoundsSpecified specified) { base.ScaleControl(factor, specified); - ItemSize = new((int)(ItemSize.Height * factor.Height), (int)(ItemSize.Width * factor.Width)); + ItemSize = new(height: (int)(ItemSize.Height * factor.Height), width: (int)(ItemSize.Width * factor.Width)); ; } }