Set a maximum size for the left part of the build rail station window

This commit is contained in:
Andreas Schmitt
2021-06-23 06:53:24 +02:00
parent f3b39b12a8
commit dd0a1ca6c0

View File

@@ -1340,6 +1340,7 @@ public:
}
}
size->width = std::max(size->width, d.width + padding.width);
size->width = std::min<uint>(size->width, ScaleGUITrad(400));
break;
}