We are using getInnerHeight
and getInnerWidth
methods in our application.Now we are migrating to ExtJS4
. As per my Observation, these two methods are not there for panel
.
Is there any thing replaces these two methods?
Why are you using innerHeight and innerWidth? You can get the height/width of the element that the Ext.Panel
is rendered to as follows...
var height = Ext.getCmp('panelId').getEl().getHeight();
This should suffice unless you've got massive amounts of padding on your panel.