mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 04:10:55 +01:00
14 lines
330 B
C#
14 lines
330 B
C#
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Client.Message;
|
|
|
|
public static class RichTextLabelExt
|
|
{
|
|
public static RichTextLabel SetMarkup(this RichTextLabel label, string markup)
|
|
{
|
|
label.SetMessage(FormattedMessage.FromMarkup(markup));
|
|
return label;
|
|
}
|
|
}
|