ViualElement's auto layout seems wrong.

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>

6976916--822887--upload_2021-3-26_18-52-11.png

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??

Hi @dujimache !

It’s indeed strange, the textfields width should be the same if both sprites are the same size. This indeed seems like a bug to me. Could you submit a bug with a link to your project? It’s worth having a look thanks for bringing this up!