Indeed, unfortunately font size is hard coded. I was having trouble with UE5 UI font size too and today I took some time to find how to fix it.
Needs UE source code, changes at:
Engine\Source\Runtime\SlateCore\Public\Styling\StarshipCoreStyle.h , line 100
static const int32 RegularTextSize = 11;
static const int32 SmallTextSize = 9;
Engine\Source\Runtime\SlateCore\Public\Styling\StarshipCoreStyle.cpp , line 33
FStyleFonts::FStyleFonts()
: Normal(FONT(11, “Regular”))
, NormalBold(FONT(11, “Bold”))
, Small(FONT(9, “Regular”))
, SmallBold(FONT(9, “Bold”))
This changes almost everything in Editor, except ContentBrowser that is hard coded somewhere else.
