Generic Numeric Alerts (#38370)

This commit is contained in:
ScarKy0
2025-06-21 19:59:37 +02:00
committed by GitHub
parent b8e8918af7
commit 6b8842c44d
20 changed files with 225 additions and 22 deletions

View File

@@ -57,10 +57,15 @@ namespace Content.Client.UserInterface.Systems.Alerts.Controls
_sprite = _entityManager.System<SpriteSystem>();
TooltipSupplier = SupplyTooltip;
Alert = alert;
HorizontalAlignment = HAlignment.Left;
_severity = severity;
_icon = new SpriteView
{
Scale = new Vector2(2, 2)
Scale = new Vector2(2, 2),
MaxSize = new Vector2(64, 64),
Stretch = SpriteView.StretchMode.None,
HorizontalAlignment = HAlignment.Left
};
SetupIcon();