rem: this._maximizeButton.setVisible(false); 
add: this._maximizeButton.setVisible(false); 
context: proto._layoutCommands = function(){  var s = 0;    if (this._closeButton)  {    if (this.getShowClose())    {      this._closeButton.setRight(s);            if (this._captionbar._wasVisible) {        this._closeButton.setVisible(true);      };            s += this._closeButton.getWidth() + 2;    }    else    {      this._closeButton.setVisible(false);      };  };    if (this._maximizeButton && this._restoreButton)  {    if (this.getShowMaximize())    {       if (this.getState() == "maximized")      {        this._maximizeButton.setVisible(false);                    this._restoreButton.setRight(s);                if (this._captionbar._wasVisible) {          this._restoreButton.setVisible(true);        };                s += this._restoreButton.getWidth();      }      else      {        this._restoreButton.setVisible(false);                this._maximizeButton.setRight(s);                if (this._captionbar._wasVisible) {          this._maximizeButton.setVisible(true);            };                s += this._maximizeButton.getWidth();      };    }    else    {      this._maximizeButton.setVisible(false);          this._restoreButton.setVisible(false);    };  };  if (this._minimizeButton)  {    if (this.getShowMinimize())    {      this._minimizeButton.setRight(s);            if (this._captionbar._wasVisible) {        this._minimizeButton.setVisible(true);      };    }    else    {      this._minimizeButton.setVisible(false);      };  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/3cf914e288956daee0598f5709e2fa9cf057b56d/QxWindow.js/buggy/qooxdoo/source/script/widgets/QxWindow.js