uxml:
<ui:UXML xmlns:ui=“UnityEngine.UIElements” xmlns:uie=“UnityEditor.UIElements” editor-extension-mode=“True”>
<ui:VisualElement style=“flex-direction: row;”>
<ui:TextField picking-mode=“Ignore” value=“filler text” text=“filler text” />
<ui:Button text=“Button” display-tooltip-when-elided=“true” />
</ui:VisualElement>
<ui:VisualElement style=“flex-direction: row;”>
<ui:TextField picking-mode=“Ignore” value=“filler text” text=“filler text” />
<ui:Button text=“Button” display-tooltip-when-elided=“true” />
</ui:VisualElement>
</ui:UXML>
unity version:2020.3.1f1
uitoolkit version:1.0.0-preview.14
windows 10
the first textfield has only one emoji:♀️, it’s unicode is: \ud83d\ude45\u200d\u2640\ufe0f
the second textfield also has only one emoji:, it’s unicode is: \ud83d\ude00
i use to show the emojis.
why the two textfield’s width isn’t same???is this a bug of auto layout??