Results 1 to 2 of 2

Thread: resize handles make textarea narrow

  1. #1
    Sencha User
    Join Date
    Dec 2011

    Default resize handles make textarea narrow

    Here's my test code that creates a resizible textarea:
    Ext.create('Ext.form.field.TextArea', {
        renderTo: document.body,
        name: 'aaa',
        fieldLabel: 'Aaa'
    Ext.create('Ext.resizer.Resizer', {
        target: Ext.ComponentQuery.query('[name=' + 'aaa' + ']')[0]
        , pinned: true
    (I tried passing "resizable: true" as part of the TextArea config, but it seems to do nothing)

    As soon as the handles are created, the <textarea> element becomes twice as narrow as its containing component. The reason is: the <label> and the bodyEl <div> have "display: table-cell;", but the handle divs have default display.

  2. #2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts