Changeset - r25330:aadc2fe7266f
[Not reviewed]
master
0 1 0
Peter Nelson - 3 years ago 2021-04-22 18:07:20
peter1138@openttd.org
Fix: Tidy up sizing of sprite aligner window sprite list.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_debug_gui.cpp
Show inline comments
 
@@ -863,8 +863,9 @@ struct SpriteAlignerWindow : Window {
 
				size->height = ScaleGUITrad(200);
 
				break;
 
			case WID_SA_LIST:
 
				resize->height = std::max(11, FONT_HEIGHT_NORMAL + 1);
 
				resize->height = FONT_HEIGHT_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM;
 
				resize->width  = 1;
 
				fill->height = resize->height;
 
				break;
 
			default:
 
				break;
0 comments (0 inline, 0 general)