mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: NWidgetParts must use unscaled dimensions. (#11794)
This commit is contained in:
parent
42e07809d0
commit
8510f7bd00
|
@ -426,7 +426,7 @@ static const NWidgetPart _nested_script_league_widgets[] = {
|
|||
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(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue