rem: proto._layoutInternalWidgetsVertical = function(vHint) 
add: proto._layoutInternalWidgetsVertical = function(vHint) 
context: proto._layoutInternalWidgetsVertical = function(vHint) {  /* ---------------------------------------     Recalculate dimensions (if needed)  --------------------------------------- */  var innerHeight = this.getInnerHeight();    if (vHint == "inner-height") {      this._normalizeVerticalData(innerHeight);  };        /* ---------------------------------------     Prepare variables  --------------------------------------- */    var vConstraintMode = this.getConstraintMode();  var vUseVirtualCells = isValid(this._virtualCells);    var vRowCount = this.getRowCount();  var vColCount = this.getColCount();    var vPaddingTop = this.getPaddingTop();  var vCurrentTop = vPaddingTop;    var vChildren = this.getChildren();  var vChildrenLength = vChildren.length;    var vCurrentChild, vCurrentLayoutHint, vVirtualCell, vClip, vRowHeight, vRowSpanHeight;    for (var i=0; i<vRowCount; i++)  {    vRowHeight = this._normalizedRowHeights[i];        for (var j=0; j<vColCount; j++)    {      for (var k=0; k<vChildrenLength; k++)      {        vCurrentChild = vChildren[k];        vCurrentLayoutHint = vCurrentChild.getLayoutHint();                if (vCurrentLayoutHint.row == (i+1) && vCurrentLayoutHint.col == (j+1))        {          vRowSpanHeight = vRowHeight;          if (isValidNumber(vCurrentLayoutHint.rowspan) && vCurrentLayoutHint.rowspan > 1)          {            for (var l=1; l<vCurrentLayoutHint.rowspan; l++) {              vRowSpanHeight += this._normalizedRowHeights[i+l]            };                         };                    vCurrentChild._applyPositionVertical(vCurrentTop);          switch(vConstraintMode)          {            case "max":                        vCurrentChild.setMaxHeight(vRowSpanHeight);              vCurrentChild.setClip(null);              break;                          case "clip":              vClip = vCurrentChild.getClip();              vClipSize = Math.min(vCurrentChild.getAnyHeight(), vRowSpanHeight);              if (isValidArray(vClip))              {                vClip[2] = vClipSize;                vCurrentChild.forceClip(null);                vCurrentChild.setClip(vClip);              }              else              {                vCurrentChild.setClip([0, 0, vClipSize, 0]);              };                            vCurrentChild.setMaxHeight(null);              break;                          default:              vCurrentChild.setMaxHeight(Infinity);              vCurrentChild.setClip(null);          };                  if (vUseVirtualCells)          {            vVirtualCell = this._virtualCells[i*vColCount+j];                      vVirtualCell.style.top = vCurrentTop + "px";            vVirtualCell.style.height = vRowSpanHeight + "px";                        vVirtualCell.style.borderTop = i == 0 ? "1px solid white" : "0 none";          };        };              };    };          vCurrentTop += vRowHeight;  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/856d1a5c1a6fa74423b05da4d6984904b653f505/QxGridLayout.js/buggy/qooxdoo/source/script/widgets/QxGridLayout.js