Fix: Tidy up sizing of sprite aligner window sprite list.

(cherry picked from commit af70195e44)
pull/259/head
Peter Nelson 3 years ago committed by Jonathan G Rennison
parent c3cd3bae71
commit 6e272df9b0

@ -932,8 +932,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;

Loading…
Cancel
Save