Files
tbd-station-14/Content.Client/UserInterface/StatusEffectsUI.cs
2020-02-27 04:14:59 -08:00

25 lines
766 B
C#

using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.UserInterface
{
/// <summary>
/// The status effects display on the right side of the screen.
/// </summary>
public sealed class StatusEffectsUI : Control
{
public VBoxContainer VBox => _vBox;
private readonly VBoxContainer _vBox;
public StatusEffectsUI()
{
_vBox = new VBoxContainer();
AddChild(_vBox);
LayoutContainer.SetGrowHorizontal(this, LayoutContainer.GrowDirection.Begin);
LayoutContainer.SetAnchorAndMarginPreset(this, LayoutContainer.LayoutPreset.TopRight, margin: 10);
LayoutContainer.SetMarginTop(this, 250);
}
}
}