lib/Ext/Component.js
function(width, height) {
        if (width != undefined) {
            this.setWidth(width);
        }
        if (height != undefined) {
            this.setHeight(height);
        }
    }
function(width, height) {
        if (width != undefined) {
            this.setWidth(width);
        }
        if (height != undefined) {
            this.setHeight(height);
        }
    }
Sets the size of the Component.
@param {Number} width The new width for the Component.
@param {Number} height The new height for the Component.