2 panels:
Ext.create('Ext.Container', { fullscreen: true, layout: 'hbox', items: [ { xtype: 'panel', html: 'message list', flex: 1, items: [ { xtype: 'list', itemTpl: '{title}', data: [ { title: 'Item 1' }, { title: 'Item 2' }, { title: 'Item 3' }, { title: 'Item 4' } ] } ] }, { xtype: 'panel', html: 'message preview', flex: 3 } ] });
The object of the list of first panels does not have a height attribute, so it is not available for display. How can I set the height to 100% in xtype: 'list'?
dima.h
source share