rem: var vMaxArrowWidth = this.getDefaultArrowWidth(); 
add: var vMaxArrowWidth = 0; 
context: proto._setChildrenDependWidth = function(vModifiedWidget, vHint){  // Store max values in the following variables  var vMaxPaddingLeft = 0;  var vMaxPaddingRight = 0;    var vMaxIconWidth = this.getDefaultIconWidth();  var vMaxTextWidth = 0;  var vMaxShortcutWidth = 0;  var vMaxArrowWidth = this.getDefaultArrowWidth();  var vMaxTextWidth = 0;  var vMaxContentWidth = 0;    // Cache gaps  var vIconContentGap = this.getIconContentGap();  var vContentArrowGap = this.getContentArrowGap();  var vTextShortcutGap = this.getTextShortcutGap();    // Prepare children loop  var ch = this.getChildren();  var chl = ch.length;  var chc;    for (var i=0; i<chl; i++)  {    chc = ch[i];        if (chc instanceof QxMenuButton)    {      vMaxPaddingLeft = Math.max(vMaxPaddingLeft, chc.getComputedPaddingLeft());      vMaxPaddingRight = Math.max(vMaxPaddingRight, chc.getComputedPaddingRight());        vMaxIconWidth = Math.max(vMaxIconWidth, chc._calculatedIconWidth);      vMaxArrowWidth = Math.max(vMaxArrowWidth, chc._calculatedArrowWidth);                if (chc._calculatedShortcutWidth > 0)      {        vMaxTextWidth = Math.max(vMaxTextWidth, chc._calculatedTextWidth);        vMaxShortcutWidth = Math.max(vMaxShortcutWidth, chc._calculatedShortcutWidth);      }      else      {        vMaxContentWidth = Math.max(vMaxContentWidth, chc._calculatedTextWidth);      };    };  };  // Calculate content max value  vMaxContentWidth = Math.max(vMaxContentWidth, (vMaxTextWidth + vTextShortcutGap + vMaxShortcutWidth));  // Cache positions for children layout    this._childIconPosition = vMaxPaddingLeft;  this._childTextPosition = this._childIconPosition + vMaxIconWidth + vIconContentGap;  this._childShortcutPosition = this._childTextPosition + vMaxContentWidth - vMaxShortcutWidth;  this._childArrowPosition = this._childTextPosition + vMaxContentWidth + vContentArrowGap;  // Apply new inner width  this.setInnerWidth((vMaxPaddingLeft + vMaxIconWidth + vIconContentGap + vMaxContentWidth + vContentArrowGap + vMaxArrowWidth + vMaxPaddingRight), null, true);};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/49f88f6bf05c4851e9d39791192d7a291fb3ff54/QxMenu.js/buggy/qooxdoo/source/script/widgets/QxMenu.js