# HG changeset patch # User Peter Nelson # Date 2024-01-15 23:02:25 # Node ID 1d1bbe19d177a44d8ff92a96903c83f72b857873 # Parent 35c1d4d2f0a0317af22e175209f771c6b8d712ad Fix: NWidgetParts must use unscaled dimensions. (#11794) diff --git a/src/league_gui.cpp b/src/league_gui.cpp --- a/src/league_gui.cpp +++ b/src/league_gui.cpp @@ -426,7 +426,7 @@ static const NWidgetPart _nested_script_ NWidget(WWT_SHADEBOX, COLOUR_BROWN), NWidget(WWT_STICKYBOX, COLOUR_BROWN), EndContainer(), - NWidget(WWT_PANEL, COLOUR_BROWN, WID_SLT_BACKGROUND), SetMinimalSize(400, 0), SetMinimalTextLines(15, WidgetDimensions::scaled.framerect.Vertical()), + NWidget(WWT_PANEL, COLOUR_BROWN, WID_SLT_BACKGROUND), SetMinimalSize(400, 0), SetMinimalTextLines(15, WidgetDimensions::unscaled.framerect.Vertical()), EndContainer(), };