code: function() {
              var clearButtonEl = this.clearButtonEl;
              if (!clearButtonEl) {
                  return;
              }
              var right = 0;
              if (this.fieldHasScrollBar()) {
                  right += Ext.getScrollBarWidth();
              }
              if (this.textField.triggerWrap) {
                  right += this.textField.getTriggerWidth();
              }
              clearButtonEl.alignTo(this.textField.bodyEl, 'tr-tr', [-1 * (right + 3), 5]);
          }
docs: Repositions the clear button element based on the textfield.inputEl element
  @private
   /* FIX FOR 4.1 /*
  repositionClearButton: function() {
  var clearButtonEl = this.clearButtonEl;
  if (!clearButtonEl) {
  return;
  }
  var clearButtonPosition = this.calculateClearButtonPosition(this.textField);
  clearButtonEl.dom.style.right = clearButtonPosition.right + 'px';
  clearButtonEl.dom.style.top = clearButtonPosition.top + 'px';
  },