context: proto._layoutInternalWidgetsVertical = function(vHint){  if (!this._layoutVerticalInitialDone) {    vHint = "initial";  };    //this.debug("LAYOUT VERTICAL: " + vHint);    var vRow;    switch(vHint)  {    case "initial":      for (var i=0, ch=this.getChildren(), chl=ch.length, chc=ch[0]; i<chl; i++, chc=ch[i]) {        this._layoutVertical(chc);      };      break;          case "append-child":      var vChange = false;          for (var i=0, ch=this.getChildren(), chl=ch.length, chc=ch[0]; i<chl; i++, chc=ch[i])      {        vRow = chc.getLayoutHint().row;                if (vChange)        {          this._layoutVertical(chc);        }        else        {          switch(this._computedRowTypes[vRow-1])          {            case "auto":              this._layoutVertical(chc);              vChange = true;              break;          };                  };      };            break;        case "inner-height":      var vChange = false;      var vLayoutHint, vRowSpan;          for (var i=0, ch=this.getChildren(), chl=ch.length, chc=ch[0]; i<chl; i++, chc=ch[i])      {        vLayoutHint = chc.getLayoutHint();        vRow = vLayoutHint.row;                if (vChange)        {          this._layoutVertical(chc);        }        else        {          switch(this._computedRowTypes[vRow-1])          {            case "percent":            case "any":              this._layoutVertical(chc);              vChange = true;              break;                          default:              // Detection for childs which uses rowspan and              // override their starting cell and so could have              // a cell in their rowspan which type is percent or any              vRowSpan = vLayoutHint.rowspan;                            for (var j=1; j<vRowSpan; j++)              {                switch(this._computedRowTypes[vRow-1+j])                {                  case "percent":                  case "any":                    this._layoutVertical(chc);                    vChange = true;                    break;                             };              };          };                  };      };            break;  };    this._layoutVerticalInitialDone = true;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/9d77d559f8a879bd7133fbbf703d1aecbd57aff4/QxGridLayout.js/clean/qooxdoo/source/script/widgets/QxGridLayout.js