Files

32 lines
756 B
C#
Raw Permalink Normal View History

2021-06-09 22:19:39 +02:00
using Content.Client.Stylesheets;
2019-10-18 14:28:24 +02:00
using Robust.Client.UserInterface.Controls;
2022-09-11 20:42:12 -07:00
namespace Content.Client.UserInterface.Controls
2019-10-18 14:28:24 +02:00
{
public sealed class NanoHeading : Container
2019-10-18 14:28:24 +02:00
{
private readonly Label _label;
private readonly PanelContainer _panel;
public NanoHeading()
{
_panel = new PanelContainer
{
Children = {(_label = new Label
{
StyleClasses = {StyleNano.StyleClassLabelHeading}
2019-10-18 14:28:24 +02:00
})}
};
AddChild(_panel);
2021-02-21 12:38:56 +01:00
HorizontalAlignment = HAlignment.Left;
2019-10-18 14:28:24 +02:00
}
public string? Text
2019-10-18 14:28:24 +02:00
{
get => _label.Text;
set => _label.Text = value;
}
}
}