PDA

View Full Version : Ext.ux.form.Multiselect - issue changing height



silve69
25 Jul 2012, 6:02 PM
Hello friends,
Somebody know why the property "height" doesn't works in Ext.ux.form.Multiselect component???
The follow example show up a 200px height component (instead of 80px)



...
items: [{
xtype: 'multiselect',
width: 275,
height: 80, // <<-- doesn't works
margin: 10,
fieldLabel: 'Select Entities',
store: [['1', 'text 1'],['2', 'text 2'],['3', 'text 3'],['4', 'text 4'],['5', 'text 5'],['6', 'text 6'],['7', 'text 7'],['8', 'text 8'],['9', 'text 9'],['10', 'text 10'],['11', 'text 11'],['12', 'text 12'],['13', 'text 13'],['14', 'text 14'],['15', 'text 15'],['16', 'text 16'],['17', 'text 17'],['18', 'text 18'],['19', 'text 19'],['20', 'text 20']],
},{
...


Best regards,
Silver

mitchellsimoens
30 Jul 2012, 8:02 AM
This is working for me using 4.1.1


new Ext.form.Panel({
renderTo : document.body,
width : 400,
height : 400,
items : [
{
xtype : 'multiselect',
width : 275,
height : 80, // <<-- doesn't works
margin : 10,
fieldLabel : 'Select Entities',
store : [
['1', 'text 1'],
['2', 'text 2'],
['3', 'text 3'],
['4', 'text 4'],
['5', 'text 5'],
['6', 'text 6'],
['7', 'text 7'],
['8', 'text 8'],
['9', 'text 9'],
['10', 'text 10'],
['11', 'text 11'],
['12', 'text 12'],
['13', 'text 13'],
['14', 'text 14'],
['15', 'text 15'],
['16', 'text 16'],
['17', 'text 17'],
['18', 'text 18'],
['19', 'text 19'],
['20', 'text 20']
]
}
]
});