Changeset - r28468:1d1bbe19d177
[Not reviewed]
master
0 1 0
Peter Nelson - 11 months ago 2024-01-15 23:02:25
peter1138@openttd.org
Fix: NWidgetParts must use unscaled dimensions. (#11794)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/league_gui.cpp
Show inline comments
 
@@ -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(),
 
};
 

	
0 comments (0 inline, 0 general)