i want a textareafield to show 20 lines text, so i set the maxRows: 20, but only 4 lines text is visible. the code is as following:
app.js
Code:
Ext.Loader.setConfig({ enabled: true});
Ext.application({
name: "Test",
views:[
'Single'
],
launch: function() {
Ext.create('TestDriver.view.Single');
}
});
Single.js
Code:
Ext.define('Test.view.Single', {
extend: 'Ext.form.Panel',
xtype: 'single',
requires: [
'Ext.form.FieldSet'
],
config: {
fullscreen: true,
layout: 'fit',
items: [
{
xtype: 'fieldset',
layout: 'vbox',
labelAlign: 'left',
labelWidth: '40%',
items:[{
xtype: 'textareafield',
id: 'textarearequestdata',
maxRows: 20,
cls: 'TextAreaBorder'
}]
}]
}
});