*EDIT - I "can't post images yet" Can anyone help? How do I align a small icon with text? Code samples will help.
I have no idea what you're trying to do... Maybe try: <div style="line-height:**px"><img src="image.jpg" style="float:left" />Text</div> Where **px is the height of your image.
The problem is that the alignment is on the element with a class of "x-btn-center". To solve it, add a style as shown below. In your CSS: .my-button-name .x-btn-center { text-align: left; } In your javascript: var button = new Ext.Button('my-button',{ cls: "x-btn-text-icon my-button-name", text: "Press me!", }) let me know if you any problem..?