Make Status Effects UI better positioned.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user