This is pretty minor, but it gave me some annoyance.

Code: Ext 1.0 beta 2

When creating an instance of Ext.Button or one of its subclasses with the following conditions being true:
  • The constructor option 'text' is omitted or set to an empty value
  • The constructor option 'cls' is set to 'x-btn-text-icon'

... the width of the button will not be changed to accommodate a new text value passed to it through the setText method when running in IE7. This problem does not occur in Firefox or Safari. IE6's behavior is unknown.

A simple test case:

HTML Code:
<div id="button"></div>

<script type="text/javascript">
    var btn = new Ext.Button('button', {cls: 'x-btn-text-icon'});
    btn.setText('Button text');
</script>
The sizing failure does not occur when the manner of specification of the class name is changed to the following:

HTML Code:
<div id="button"></div>

<script type="text/javascript">
    var btn = new Ext.Button('button');
    btn.getEl().addClass('x-btn-text-icon');
    btn.setText('Button text');
</script>