View Full Version : center function on Ext.Element?

6 Mar 2011, 6:13 AM
its in the docs (center (http://dev.sencha.com/deploy/touch/docs/source/Element.alignment.html#method-Ext.Element-center)( [Mixed centerIn] ) : void)
but i cant find it in the sencha JS...
whats the correct way of centring an Ext.Element inside another element.
to be more specific, what is the best way to center an Ext.element inside another one vertically?
any suggestions are welcomed.