Closed jranke closed 10 years ago
Hmm, The docs for that are here: http://www.objis.com/formationextjs/lib/extjs-4.0.0/docs/api/Ext.form.field.Text.html
I have set the width argument which seems to onlyadjust the width of the field, but not the interior widget. However, I tried modifying the code to set size
and that doesn't work as I expected. Not sure what to do about this. A partial workaround is to automatically grow the field. This can be done by passing an extra argument through ext.args
:
e <- gedit("Test gedit, increased width of 50", width = 50, cont = line_2, ext.args=list(grow=TRUE))
Ah, thanks for the workaround. I noticed that using
..., ext.args = list(width = 8 * 50),
does what I originally wanted.
Test script:
Result: