mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
21 lines
416 B
C#
21 lines
416 B
C#
using Robust.Client.UserInterface.Controls;
|
|
|
|
namespace Robust.Client.UserInterface.CustomControls
|
|
{
|
|
public sealed class Tooltip : PanelContainer
|
|
{
|
|
private readonly Label _label;
|
|
|
|
public string? Text
|
|
{
|
|
get => _label.Text;
|
|
set => _label.Text = value;
|
|
}
|
|
|
|
public Tooltip()
|
|
{
|
|
AddChild(_label = new Label());
|
|
}
|
|
}
|
|
}
|