feat(ui): port retained widget foundations

This commit is contained in:
Erik 2026-07-10 17:55:41 +02:00
parent 44f9ec13d9
commit d825572e31
44 changed files with 84813 additions and 292 deletions

View file

@ -463,6 +463,7 @@ public sealed class InventoryController : IItemListDragHandler
if (host is UiText t)
{
t.Centered = true;
t.OneLine = true;
t.DatFont = datFont;
t.ClickThrough = true;
t.AcceptsFocus = false;
@ -483,7 +484,7 @@ public sealed class InventoryController : IItemListDragHandler
{
Left = 0f, Top = 0f, Width = host.Width, Height = host.Height,
Anchors = AnchorEdges.Left | AnchorEdges.Top | AnchorEdges.Right,
Centered = true, DatFont = datFont, ClickThrough = true,
Centered = true, OneLine = true, DatFont = datFont, ClickThrough = true,
AcceptsFocus = false, IsEditControl = false, CapturesPointerDrag = false,
LinesProvider = () =>
{