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

pull/292/head
Andreas Schmitt 3 years ago
parent f3b39b12a8
commit dd0a1ca6c0

@ -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;
}

Loading…
Cancel
Save