Files
RobustToolbox/Robust.Client/UserInterface/CustomControls/Tooltip.cs
T
ShadowCommanderandGitHub 2f819cf781 Refactor Controls to default to MouseFilterMode.Ignore (#1011)
* Refactor Controls to default to MouseFilterMode.Ignore

* Clean up MouseFilterMode.Ignore from Controls

* Fix BoxContainer eating UI clicks

* Fix ScrollContainer using the wrong variable

* Refactor ContainerButtons to use a StyleClass for formatting instead of typeof

* Refactor BaseButton to work when child has MouseFilter.Pass
2020-03-15 07:29:51 +01:00

21 lines
406 B
C#

using Robust.Client.UserInterface.Controls;
namespace Robust.Client.UserInterface.CustomControls
{
public sealed class Tooltip : PanelContainer
{
private Label _label;
public string Text
{
get => _label.Text;
set => _label.Text = value;
}
public Tooltip()
{
AddChild(_label = new Label());
}
}
}