Item status!
This commit is contained in:
13
Content.Client/Utility/RichTextLabelExt.cs
Normal file
13
Content.Client/Utility/RichTextLabelExt.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Client.Utility
|
||||
{
|
||||
public static class RichTextLabelExt
|
||||
{
|
||||
public static void SetMarkup(this RichTextLabel label, string markup)
|
||||
{
|
||||
label.SetMessage(FormattedMessage.FromMarkup(markup));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user