rem: } 
add: } 
context: proto._layoutInternalWidgetsHelper = function(vHint, vNameRangeUp, vDirection, vNameStart, vNameStop, vPaddingStartUp){  try  {    var vTextPos = 0;    var vIconPos = 0;        var vBoxSize;      if (this._displayText && this._displayIcon)    {      if (!this._textObject || !this._iconObject) {        return;      };        var vTextSize = this._textObject["getAny" + vNameRangeUp]();      var vIconSize = this._iconObject["getAny" + vNameRangeUp]();            // this.debug("DIR=" + vDirection + ", TSIZE=" + vTextSize + ", ISIZE=" + vIconSize);        switch(this.getIconPosition())      {        case vNameStart:          vTextPos = vIconSize + this.getIconTextGap();          vBoxSize = vTextPos + vTextSize;          break;                case vNameStop:          vIconPos = vTextSize + this.getIconTextGap();          vBoxSize = vIconPos + vIconSize;          break;                  default:          if(vTextSize > vIconSize)           {            vIconPos = (vTextSize - vIconSize) / 2;          }           else          {            vTextPos = (vIconSize - vTextSize) / 2;          };            vBoxSize = Math.max(vTextSize, vIconSize);      };    }       else if (this._displayText)    {      vBoxSize = this._textObject["getAny" + vNameRangeUp]();    }    else if (this._displayIcon)    {      vBoxSize = this._iconObject["getAny" + vNameRangeUp]();    }    else    {      return;      };      var vBoxPos = this["getComputedPadding" + vPaddingStartUp]();      switch(this["get" + vDirection + "Align"]())     {      case "center":      case "middle":        vBoxPos += (this["getInner" + vNameRangeUp]() - vBoxSize) / 2;        break;          case "right":      case "bottom":        vBoxPos += this["getInner" + vNameRangeUp]() - vBoxSize;        break;    };      vIconPos += vBoxPos;    vTextPos += vBoxPos;         // this.debug("ICON=" + vIconPos + ", TEXT=" + vTextPos);      // Apply new values    if (this._iconObject) {      this._iconObject["_applyPosition" + vDirection](vIconPos);    };        if (this._textObject) {      this._textObject["_applyPosition" + vDirection](vTextPos);    };  }  catch(ex)  {    throw new Error("Failed to internal render widgets: " + ex);  };    return true;  };
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/ee8bda88301088375d4815625181857cb6281591/QxAtom.js/clean/qooxdoo/source/script/widgets/QxAtom.js