Я хотел бы отобразить вертикальную полосу прокрутки во втором наборе полей, но кажется, что высота набора полей всегда адаптируется к его содержимому.
Параметр scrollable
ничего не меняет.
Ext.create('Ext.window.Window', {
width: 800,
height: 300,
layout: {
type: 'vbox',
align: 'stretch'
},
items: [{
xtype: 'fieldset',
items: [{
fieldLabel: 'foo',
xtype: 'textfield'
}]
}, {
xtype: 'fieldset',
scrollable: 'y',
items: [{
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}, {
fieldLabel: 'foo',
xtype: 'textfield'
}]
}]
}).show();