PDA

View Full Version : A textarea layout bug in FromPanel



fancyoung
3 Aug 2011, 10:19 AM
When I want set form fullscreen and miximize the textareafield,
the textarea element css doesn't work right.
So I need set "display: -webkit-box" for the parent element of textarea manually.

Is it a bug?



new Ext.form.FormPanel({
fullscreen: true,
dockedItems: [{
xtype: 'toolbar',
dock: 'top',
title: 'test form',
items: [{
iconCls: 'compose',
iconMask: true,
handler: function(){
}
}]
}],
layout: {
type: 'vbox',
align: 'left'
},
items: [
{
xtype: 'textfield',
name: 'title',
label: 'title'
},
{
xtype: 'textareafield',
name: 'body',
flex: '1',
label: 'body'
},
{
xtype: 'selectfield',
name: 'select',
options: [
{text: '1', value: '1'},
{text: '2', value: '2'},
{text: '3', value: '3'}
]
}
]
});