1
0
Fork 0

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

pull/9151/head
Peter Nelson 2021-04-22 19:07:20 +01:00 committed by PeterN
parent 1df510c297
commit af70195e44
1 changed files with 2 additions and 1 deletions

View File

@ -863,8 +863,9 @@ struct SpriteAlignerWindow : Window {
size->height = ScaleGUITrad(200); size->height = ScaleGUITrad(200);
break; break;
case WID_SA_LIST: 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; resize->width = 1;
fill->height = resize->height;
break; break;
default: default:
break; break;