Fixed vehicle and music dialog size

This commit is contained in:
pelya
2014-03-23 18:47:49 +02:00
parent 313e3b73b3
commit 61e8275ebf
5 changed files with 8 additions and 14 deletions

View File

@@ -649,7 +649,7 @@ struct RefitWindow : public Window {
switch (widget) {
case WID_VR_MATRIX:
resize->height = GetMinSizing(NWST_STEP, WD_MATRIX_TOP + FONT_HEIGHT_NORMAL + WD_MATRIX_BOTTOM);
size->height = resize->height * 8;
size->height = resize->height * 6;
break;
case WID_VR_VEHICLE_PANEL_DISPLAY:
@@ -1474,7 +1474,7 @@ public:
switch (this->vli.vtype) {
case VEH_TRAIN:
case VEH_ROAD:
size->height = 7 * resize->height;
size->height = 6 * resize->height;
break;
case VEH_SHIP:
case VEH_AIRCRAFT: