WPF layout (#3346)

This commit is contained in:
Pieter-Jan Briers
2021-02-21 12:38:56 +01:00
committed by GitHub
parent 33d6975c25
commit b898443f28
121 changed files with 1420 additions and 2069 deletions

View File

@@ -73,7 +73,7 @@ namespace Content.Client.GameObjects.Components.Gravity
var vBox = new VBoxContainer
{
CustomMinimumSize = new Vector2(250, 100)
MinSize = new Vector2(250, 100)
};
Status = new Label
{
@@ -84,7 +84,7 @@ namespace Content.Client.GameObjects.Components.Gravity
{
Text = Loc.GetString(Owner.IsOn ? "Turn Off" : "Turn On"),
TextAlign = Label.AlignMode.Center,
CustomMinimumSize = new Vector2(150, 60)
MinSize = new Vector2(150, 60)
};
vBox.AddChild(Status);