mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
* 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
21 lines
406 B
C#
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());
|
|
}
|
|
}
|
|
}
|