Make Status Effects UI better positioned.

This commit is contained in:
Pieter-Jan Briers
2019-07-12 19:29:53 +02:00
parent 4540034e26
commit 837a906538

View File

@@ -23,11 +23,13 @@ namespace Content.Client.UserInterface
_vBox.AddChild(_healthStatusRect = new TextureRect _vBox.AddChild(_healthStatusRect = new TextureRect
{ {
TextureScale = (2, 2),
Texture = IoCManager.Resolve<IResourceCache>().GetTexture("/Textures/Mob/UI/Human/human0.png") Texture = IoCManager.Resolve<IResourceCache>().GetTexture("/Textures/Mob/UI/Human/human0.png")
}); });
SetAnchorAndMarginPreset(LayoutPreset.TopRight); SetAnchorAndMarginPreset(LayoutPreset.TopRight);
MarginTop = 200; MarginTop = 200;
MarginRight = 10;
} }
public void SetHealthIcon(Texture texture) public void SetHealthIcon(Texture texture)