if (briefing != null)
{
var briefingControl = new ObjectiveBriefingControl();
- briefingControl.Label.Text = briefing;
+ var text = new FormattedMessage();
+ text.PushColor(Color.Yellow);
+ text.AddText(briefing);
+ briefingControl.Label.SetMessage(text);
_window.Objectives.AddChild(briefingControl);
}
xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Systems.Objectives.Controls"
Orientation="Horizontal">
- <Label Name="Label" Access="Public" Modulate="#FFFF00"/>
+ <RichTextLabel Name="Label" Access="Public" SetWidth="325" HorizontalAlignment="Left"/>
</controls:ObjectiveBriefingControl>