PDA

View Full Version : TabPanel Anchor 100% 100%



ser
25 Oct 2010, 5:14 AM
I have the following structure in ExtDesigner
http://savepic.ru/1913498.png
MyWindow layout - auto,
Height "MyForm" is 300 - fixed, not resizable.
TabPanel should occupy the remainder part of the form and resize when the window.
I try to change anchor TabPanel to 100% 100% then bbar is not visible and does not show scrolling.

If I set the anchor 100% 90% then when the window is resized TabPanel changes its size disproportionately window. How do I set the height TapPanel to be visible bbar and changes its size just like a window.
Thanks.

Sorry for my English.

Animal
25 Oct 2010, 5:16 AM
Use

layout: {
type: 'vbox',
align: 'stretch'
}

on the Window.

Configure the TabPanel with flex: 1

ser
25 Oct 2010, 7:10 AM
Thanks, It's work!