From 7cb389f24efdd3db8f0b5e2b4a9b299ef71fa86a Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Tue, 8 Oct 2019 03:52:24 +1100 Subject: [PATCH] Launcher: fix plugin config font size (hopefully) --- source-code/source/plugins/Launcher/ConfigOption.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source-code/source/plugins/Launcher/ConfigOption.h b/source-code/source/plugins/Launcher/ConfigOption.h index 4c815e1..c34083e 100644 --- a/source-code/source/plugins/Launcher/ConfigOption.h +++ b/source-code/source/plugins/Launcher/ConfigOption.h @@ -1129,6 +1129,7 @@ Panel^ MakePanel(int width, int height, std::vector &cfg, Too Drawing::SizeF CurrentScaleSize = RootForm->CurrentAutoScaleDimensions; ScaleWidth = CurrentScaleSize.Width / BaseScaleSize; ScaleHeight = CurrentScaleSize.Height / BaseScaleSize; + outpanel->Font = gcnew Drawing::Font(outpanel->Font->FontFamily, outpanel->Font->SizeInPoints * ScaleHeight); } int curX = 12;