-
How to make the scrollbar height equal to the control height for a textareafield?
How to make the scrollbar height equal to the control height for a textareafield?
-
Sencha - Senior Forum Manager
Kind of looks like CSS is cutting something off? You can inspect the DOM using the dev tools to see what is going on.
-
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
}]
}]
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us