Order window: Fix misalignment of shared order vehicles button

This commit is contained in:
Jonathan G Rennison
2023-08-26 22:17:24 +01:00
parent 668a0f774a
commit 8dc635b516

View File

@@ -1919,6 +1919,11 @@ public:
*size = maxdim(*size, d);
break;
}
case WID_O_SHARED_ORDER_LIST:
case WID_O_ADD_VEH_GROUP:
size->width = std::max(size->width, NWidgetLeaf::GetResizeBoxDimension().width);
break;
}
}