Fix loco and wagon button rows having different heights
This commit is contained in:
@@ -2677,6 +2677,11 @@ struct BuildVehicleWindowTrainAdvanced final : BuildVehicleWindowCommon {
|
||||
size->height += padding.height;
|
||||
break;
|
||||
}
|
||||
|
||||
case WID_BV_RENAME_LOCO: {
|
||||
*size = maxdim(*size, NWidgetLeaf::resizebox_dimension);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user