static/ext/src/dom/Element_position.js
function(x, y, width, height, animate) {
            return this.setBox({
                x: x,
                y: y,
                width: width,
                height: height
            }, animate);
        }
function(x, y, width, height, animate) {
            return this.setBox({
                x: x,
                y: y,
                width: width,
                height: height
            }, animate);
        }
Sets the element's position and size in one shot. If animation is true then
width, height, x and y will be animated concurrently.

@param {Number} x X value for new position (coordinates are page-based)
@param {Number} y Y value for new position (coordinates are page-based)
@param {Number/String} width The new width. This may be one of:

- A Number specifying the new width in this Element's
{@link #defaultUnit}s (by default, pixels)
- A String used to set the CSS width style. Animation may **not** be used.

@param {Number/String} height The new height. This may be one of:

- A Number specifying the new height in this Element's
{@link #defaultUnit}s (by default, pixels)
- A String used to set the CSS height style. Animation may **not** be used.

@param {Boolean/Object} [animate] true for the default animation or
a standard Element animation config object

@return {Ext.dom.Element} this
@deprecated Use {@link Ext.util.Positionable#setBox} instead.