context: proto._modifyIconPosition = function(propValue, propOldValue, propName, uniqModIds){  if (!this._wasVisible) {    return true;  };    if (1 == 1 || this._displayText && this._displayIcon)  {    // Search for a simple position switch first...    switch(propValue)    {      case "left":        if (propOldValue == "right") {          return this._layoutInternalWidgetsHorizontal("icon-position");        };                break;            case "right":        if (propOldValue == "left") {          return this._layoutInternalWidgetsHorizontal("icon-position");        };                break;            case "top":        if (propOldValue == "bottom") {          return this._layoutInternalWidgetsVertical("icon-position");        };                break;            case "bottom":        if (propOldValue == "top") {          return this._layoutInternalWidgetsVertical("icon-position");        };                break;    };        // ...if nothing was found use the more complex     // re-calculation and -layouting.    if (this.getWidth() == "auto")    {      this._setChildrenDependWidth(this, "icon-position");    }    else    {      this._layoutInternalWidgetsHorizontal("icon-position");    };        if (this.getHeight() == "auto")    {      this._setChildrenDependHeight(this, "icon-position");    }    else    {      this._layoutInternalWidgetsVertical("icon-position");    };  };  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