Codechange: Prefer suggested widget padding.

This commit is contained in:
Peter Nelson
2021-05-03 16:56:02 +01:00
committed by PeterN
parent 0108e9f387
commit b6ed595176
18 changed files with 38 additions and 36 deletions

View File

@@ -859,7 +859,7 @@ struct SpriteAlignerWindow : Window {
size->height = ScaleGUITrad(200);
break;
case WID_SA_LIST:
resize->height = FONT_HEIGHT_NORMAL + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM;
resize->height = FONT_HEIGHT_NORMAL + padding.height;
resize->width = 1;
fill->height = resize->height;
break;