Launcher: fix plugin config font size (hopefully)

This commit is contained in:
somewhatlurker
2019-10-08 03:52:24 +11:00
parent f0c5ec4099
commit 7cb389f24e
@@ -1129,6 +1129,7 @@ Panel^ MakePanel(int width, int height, std::vector<ConfigOptionBase*> &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;