PDA

View Full Version : How to create button like this one



pavel.dolinin
27 Nov 2007, 6:53 AM
How can I create button like this one:


+--------------------------+
| |
| Icon |
| |
|--------------------------+
| Text Lable |
+--------------------------+


Something based on Ext.Action or Ext.Button look like them and act like them

27 Nov 2007, 7:35 AM
Try setting the text to:

"<center><img src='blah.jpg'><br />My Text</center>"

pavel.dolinin
27 Nov 2007, 8:20 AM
My button highest then 21px so then the mouse is over the button it

27 Nov 2007, 8:37 AM
You'll need to override the class. use Firebug and Firefox to inspect the button to learn more about the css definitions