View Full Version : Buttons with icons?

24 Jul 2010, 11:42 AM
I'm trying to make a button that also has an icon (preferably with the icon with the text underneath it). Here's what I'm trying to use to do it:

xtype: 'button',
icon: "img\img.png",
text: "icon with text",

The text shows up fine, but the button is standard size for being inside of an Hbox panel with no icon anywhere to be seen. No errors are being thrown. Am I missing something?