Renamed GetMinSizing() to GetMinButtonSize(), we do not use it for anything but button size

This commit is contained in:
Sergii Pylypenko
2021-05-07 22:52:01 +03:00
parent c765e99c09
commit 9d9528b14e
35 changed files with 106 additions and 119 deletions

View File

@@ -199,7 +199,7 @@ struct TimetableWindow : Window {
case WID_VT_ARRIVAL_DEPARTURE_SELECTION:
case WID_VT_TIMETABLE_PANEL:
resize->height = GetMinSizing(NWST_BUTTON, FONT_HEIGHT_NORMAL);
resize->height = GetMinButtonSize(FONT_HEIGHT_NORMAL);
size->height = WD_FRAMERECT_TOP + 4 * resize->height + WD_FRAMERECT_BOTTOM;
break;