Seems like the TextInput width is greater than the same text in Text. If I apply the calculated width
to the Text, it displays it without a problem, but if I set the width to TextInput, it will get clipped.
Is there a good way to calculate TextInput width?