Results 1 to 3 of 3

Thread: How to make the scrollbar height equal to the control height for a textareafield?

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    80
    Vote Rating
    0
      0  

    Default How to make the scrollbar height equal to the control height for a textareafield?

    2011-12-26 10-00-07.png
    Attached Images Attached Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Kind of looks like CSS is cutting something off? You can inspect the DOM using the dev tools to see what is going on.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    80
    Vote Rating
    0
      0  

    Default

    There is no relation with CSS. if i specify a height or self-adapting height (flex: 1), same problem occurs.

    it looks like a bug.

    { xtype: 'panel',
    flex: 1,
    cls: 'MainPanelMargin',
    layout: 'vbox',
    items:[
    {
    xtype: 'spacer',
    height: 10
    },
    {
    xtype: 'textareafield',
    id: 'textarearequestdata',
    readOnly: true,
    cls: 'TextAreaBorder',
    flex: 1
    },
    {
    xtype: 'spacer',
    height: 10
    },

    { xtype: 'textareafield',
    id: 'textareareponsedata',
    readOnly: true,
    cls: 'TextAreaBorder',
    flex: 1
    },
    {
    xtype: 'spacer',
    height: 10
    }]

    }]

Posting Permissions

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