View Full Version : Auto fill a field with a list

7 Jan 2014, 12:15 AM
I'm trying to make a page that has two buttons on the top, one one on the bottom and a big list in the middle. The list is supposed to be scrollable and fill out the space between the buttons. How do i achieve that? I already tried to use % values, but they don't work, the list then has a height of 0.
I'm using Ext.Panel for the List.

Gary Schlosberg
7 Jan 2014, 5:50 AM
Have you had a look at bbar (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.panel.Panel-cfg-bbar) and tbar (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.panel.Panel-cfg-tbar)?