Lobby Refactor (#7077)
This commit is contained in:
21
Content.Client/UserInterface/Controls/HSpacer.cs
Normal file
21
Content.Client/UserInterface/Controls/HSpacer.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Shared.Maths;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace Content.Client.UserInterface.Controls;
|
||||
|
||||
public sealed class HSpacer : Control
|
||||
{
|
||||
public float Spacing { get => MinHeight; set => MinHeight = value; }
|
||||
public HSpacer()
|
||||
{
|
||||
MinHeight = Spacing;
|
||||
}
|
||||
public HSpacer(float height = 5)
|
||||
{
|
||||
Spacing = height;
|
||||
MinHeight = height;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user