PDA

View Full Version : can ext.layout.* support the percentage



haiyupeter
11 Mar 2011, 1:20 AM
how I can support it????
for example:
new Ext.Panel({
layout: "fit",
title: "Ext",
bodyStyle: "background-color:red;height:100%;",
contentEl: "test9_content",
applyTo: "test9"
});

steffenk
11 Mar 2011, 2:49 AM
do not do it with inline style!
Layout 'fit' already stretch the content of the container to it's dimension. What you want to achieve is related to the parent container!