Net.Like.Xue.Tokyo/Assets/Artists/UX/App/ui_app_chat-template.uxml

14 lines
1.8 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement name="ui_app_chat-template" class="message-container" style="padding-top: 16px; padding-right: 16px; padding-bottom: 16px; padding-left: 16px;">
<ui:VisualElement name="VisualElement--0" style="width: 64px; height: 64px; margin-top: auto; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-left-radius: 95px; border-top-right-radius: 95px; border-bottom-right-radius: 95px; border-bottom-left-radius: 95px;">
<ui:Label tabindex="-1" text="U" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--2" style="font-size: 32px; flex-grow: 1; -unity-text-align: middle-center;" />
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; margin-left: 4px; margin-right: 4px;">
<ui:Label tabindex="-1" text="Username,11:45AM" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" />
<ui:VisualElement style="flex-grow: 1; background-color: rgb(255, 255, 255); border-top-left-radius: 19px; border-top-right-radius: 19px; border-bottom-right-radius: 19px; border-bottom-left-radius: 19px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;">
<ui:Label tabindex="-1" text="Hi,I have many message for you,which means I &#10;this is next line" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" class="tl" style="white-space: normal;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>