From bc3942127bfe6bee5cb671a34126dfd3c52c1723 Mon Sep 17 00:00:00 2001 From: moneyl <8206401+Moneyl@users.noreply.github.com> Date: Fri, 17 May 2019 10:36:29 -0400 Subject: [PATCH] Fixed construction menu default size being huge --- Content.Client/Construction/ConstructionButton.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Content.Client/Construction/ConstructionButton.cs b/Content.Client/Construction/ConstructionButton.cs index 5bab5217ef..9a73f023f4 100644 --- a/Content.Client/Construction/ConstructionButton.cs +++ b/Content.Client/Construction/ConstructionButton.cs @@ -1,6 +1,7 @@ using Content.Client.GameObjects.Components.Construction; using Robust.Client.Interfaces.Graphics; using Robust.Client.UserInterface.Controls; +using Robust.Shared.Maths; using Robust.Shared.Utility; namespace Content.Client.Construction @@ -40,7 +41,10 @@ namespace Content.Client.Construction private void PerformLayout() { - Menu = new ConstructionMenu(_displayManager); + Menu = new ConstructionMenu(_displayManager) + { + Size = new Vector2(500.0f, 350.0f) + }; Menu.AddToScreen(); }