I'm trying to build a autogrowing TextInput and is using a shadow Text component to measure the text (I'm sure there's a better way, maybe expose NSString.boundingRectWithSize). However I noticed that the padding is slightly differently rendered on the two, it seems TextInput has an extra 2px (or 1pt?) horizontal padding causing the text to wrap differently.
padding: 0. TextInput first, Text last.

I'm trying to build a autogrowing
TextInputand is using a shadowTextcomponent to measure the text (I'm sure there's a better way, maybe exposeNSString.boundingRectWithSize). However I noticed that the padding is slightly differently rendered on the two, it seemsTextInputhas an extra 2px (or 1pt?) horizontal padding causing the text to wrap differently.padding: 0.TextInputfirst,Textlast.