docs: function (cfg) {
              var hasChanged = false, prefName, newVal;
              var prefs = ['maxWidth', 'maxHeight', 'minWidth', 'width', 'height'];
  
              for (var i = 0, len = prefs.length; i < len; i++) {
                  prefName = prefs[i];
                  newVal = cfg[prefName];
                  if (newVal && newVal != this._cfg[prefName]) {
                      this._cfg[prefName] = newVal;
                      hasChanged = true;
                  }
              }
  
              if (cfg.maximized !== this._cfg.maximized) {
                  this._cfg.maximized = cfg.maximized;
                  hasChanged = true;
              }
  
              if (cfg.maximized) {
                  this._cfg.widthMaximized = cfg.widthMaximized;
                  this._cfg.heightMaximized = cfg.heightMaximized;
                  hasChanged = true;
              } else {
                  this._cfg.widthMaximized = null;
                  this._cfg.heightMaximized = null;
              }
  
              if (hasChanged) {
                  this.$Container._updateSize.call(this);
              }
          }