Files
rudder-unity-sdk/Assets/LiveOpsExamples/UI/BackpackItemRow.uxml
T

11 lines
1000 B
Plaintext
Raw Normal View History

2026-08-12 14:03:44 +03:00
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="backpack-item-row" class="row" style="flex-direction: row; align-items: center; padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;">
<VisualElement name="item-icon" style="width: 40px; height: 40px; border-top-left-radius: 9px; border-top-right-radius: 9px; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; background-color: rgb(30, 51, 44); margin-right: 10px; flex-shrink: 0;" />
<VisualElement name="item-body" style="flex-grow: 1; flex-shrink: 1;">
<Label name="item-name" text="Item name" style="font-size: 14px; -unity-font-style: bold;" />
<Label name="item-meta" text="slug" class="label-muted" style="font-size: 11px;" />
</VisualElement>
<Label name="item-amount" text="×1" class="value-accent value-mono" style="width: 48px; font-size: 14px; -unity-text-align: middle-right; flex-shrink: 0;" />
</VisualElement>
</UXML>