-
3 Aug 2008 2:31 AM #1
Icon ToolBar
Icon ToolBar
Hi,
Does anyone have some sample code for an Icon based toolbar?
i.e a toolbar with image buttons for Home, Refresh etc.
Any help would be appreciated.
Regards
baradas
-
3 Aug 2008 4:26 AM #2
use the iconCls config param in your button config and create a matching CSS class...
Button config:
CSS:Code:{ ... iconCls: 'myicon' ... }
Code:.myicon { background-image: url(myicon.gif) !important; }
-
3 Aug 2008 7:56 PM #3
What do you mean by Button config?
What do you mean by Button config?
Hi,
I am using GXT 1.0.
What do you mean by the button config? Where is the button config included?
Also how do I set the size of the button? And is this a GXT button or a normal GWT button that I should use?
Regards
baradas
-
3 Aug 2008 11:02 PM #4
not sure if it would work, but try a TextToolItem, but without any text set....
http://extjs.com/deploy/gxtdocs/com/...tToolItem.html
-
3 Aug 2008 11:38 PM #5
Sorry !.. I really must start paying attention to the Forum I am posting in.


Reply With Quote