Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Shared.Ghost;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
@@ -54,7 +55,7 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls
|
||||
HorizontalAlignment = HAlignment.Center,
|
||||
VerticalAlignment = VAlignment.Center,
|
||||
SizeFlagsStretchRatio = 1,
|
||||
MinSize = (340, 20),
|
||||
MinSize = new Vector2(340, 20),
|
||||
ClipText = true,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Robust.Client.AutoGenerated;
|
||||
using System.Numerics;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
using static Robust.Client.UserInterface.Controls.BaseButton;
|
||||
@@ -14,14 +15,14 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
MakeSentientLabel.MinSize = (150, 0);
|
||||
RoleEntityLabel.MinSize = (150, 0);
|
||||
RoleNameLabel.MinSize = (150, 0);
|
||||
RoleName.MinSize = (300, 0);
|
||||
RoleDescriptionLabel.MinSize = (150, 0);
|
||||
RoleDescription.MinSize = (300, 0);
|
||||
RoleRulesLabel.MinSize = (150, 0);
|
||||
RoleRules.MinSize = (300, 0);
|
||||
MakeSentientLabel.MinSize = new Vector2(150, 0);
|
||||
RoleEntityLabel.MinSize = new Vector2(150, 0);
|
||||
RoleNameLabel.MinSize = new Vector2(150, 0);
|
||||
RoleName.MinSize = new Vector2(300, 0);
|
||||
RoleDescriptionLabel.MinSize = new Vector2(150, 0);
|
||||
RoleDescription.MinSize = new Vector2(300, 0);
|
||||
RoleRulesLabel.MinSize = new Vector2(150, 0);
|
||||
RoleRules.MinSize = new Vector2(300, 0);
|
||||
|
||||
MakeButton.OnPressed += OnPressed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user