Neg_Utils/UiToolkit/MultiSelectChips/Resources/MultiSelectChipItem.uxml
2025-03-03 19:17:05 +01:00

13 lines
1.3 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements"
xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements"
noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:VisualElement name="VisualElement" class="unity-button"
style="min-height: 21px; flex-shrink: 1; flex-direction: row; flex-wrap: wrap; align-items: center;">
<ui:VisualElement name="Color"
style="min-height: 15px; min-width: 15px; border-top-left-radius: 22px; border-bottom-left-radius: 22px; border-top-right-radius: 22px; border-bottom-right-radius: 22px; border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; border-left-color: rgba(0, 0, 125, 255); border-right-color: rgba(0, 0, 125, 255); border-top-color: rgba(0, 0, 125, 255); border-bottom-color: rgba(0, 0, 125, 255); background-color: rgba(255, 0, 0, 255); max-height: 15px; justify-content: center; align-items: center;"/>
<ui:Label text="Name" display-tooltip-when-elided="true" name="Name"
style="padding-left: 7px; padding-right: 5px;"/>
<ui:Button text="X" display-tooltip-when-elided="true" name="RemoveBtn"/>
</ui:VisualElement>
</ui:UXML>