Files
OldThink/Content.Client/Message/RichTextLabelExt.cs

14 lines
329 B
C#
Raw Normal View History

2020-01-09 00:27:52 +01:00
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Utility;
2021-06-09 22:19:39 +02:00
namespace Content.Client.Message
2020-01-09 00:27:52 +01:00
{
public static class RichTextLabelExt
{
public static void SetMarkup(this RichTextLabel label, string markup)
{
label.SetMessage(FormattedMessage.FromMarkup(markup));
}
}
}