rem: return Math.max(0, Math.max(accumulatedWidth, maxSingleRequiredWidth)); 
add: return Math.max(0, accumulatedWidth + maxSingleRequiredWidth); 
context: proto._calculateChildrenDependWidth = function(vModifiedWidget, vHint) {  var ch = this.getChildren();  var chl = ch.length;  var chc;    var accumulatedWidth = 0;  var maxSingleRequiredWidth = 0;  var respectAutoRequirements = this.getRespectAutoRequirements();    var tempSize;    for (var i=0; i<chl; i++)   {    chc = ch[i];    cht = chc.getLayoutHint();        switch(cht)    {      case "top":      case "bottom":        tempSize = chc.getAnyWidth();        tempSize = isValidNumber(tempSize) ? tempSize : 0;        maxSingleRequiredWidth = Math.max(Math.min(Math.max(chc.getMinWidth(), tempSize), chc.getMaxWidth()), maxSingleRequiredWidth);        break;              case "auto":                if (!respectAutoRequirements) {          break;        };      case "left":      case "right":        tempSize = chc.getAnyWidth();        tempSize = isValidNumber(tempSize) ? tempSize : 0;                accumulatedWidth += Math.min(Math.max(tempSize, chc.getMinWidth(), chc.getMaxWidth()));        break;              default:        throw new Error("QxDockLayout does not support layout hint '" + cht + "' for child " + chc);    };  };        return Math.max(0, Math.max(accumulatedWidth, maxSingleRequiredWidth));};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/48c844c19ae85ddd1dfe36117c251acaf1ddad3a/QxDockLayout.js/buggy/qooxdoo/source/script/widgets/QxDockLayout.js