i have this toolbarbutton and its method setIconCls();
1. ToolbarButton button_daily_View = new ToolbarButton("Daily
View");
2. button_daily_View.setIconCls("database-add-icon");
ToolbarButton button_daily_View = new ToolbarButton("Daily View");
button_daily_View.setIconCls("database-add-icon");
at the css, i have this:
1. .database-add-icon{
2. background-image:url(images/database_add.png);
3.
4. }
.database-add-icon{ background-image:url(images/database_add.png); }
but the icon don't appear. I am not sure what went wrong. maybe it's
not the gwt fault but i cannot pin-point where is the error? can
someone advise me ? I attached a picture ( circled the point where
icon supposed to be) THANKS alot!!
picture here
http://www.quickfilepost.com/download.do?get=ed4f75339f725d64633f905d