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