Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-25829
in
6.5.2.
-
Sencha User
TextField with grow: true doesn't use padding in the autoSize calculation
Ext version tested:
Description:
Text fields with "grow: true" and non-zero padding don't grow to fit the text entirely, since the "autoSize" method doesn't use padding in its width calculation.
Workaround:
Set a larger "growAppend" to compensate for padding. For example, "growAppend: 'WW'" seems to be sufficient for 5px padding.
Fiddle:
https://fiddle.sencha.com/#view/editor&fiddle/22qq
-
Thanks for the report! I have opened a bug in our bug tracker.