2 * @class Ext.layout.component.ProgressBar
3 * @extends Ext.layout.component.Component
7 Ext.define('Ext.layout.component.ProgressBar', {
9 /* Begin Definitions */
11 alias: ['layout.progressbar'],
13 extend: 'Ext.layout.component.Component',
19 onLayout: function(width, height) {
22 textEl = owner.textEl;
24 me.setElementSize(owner.el, width, height);
25 textEl.setWidth(owner.el.getWidth(true));
27 me.callParent([width, height]);
29 owner.updateProgress(owner.value);