PDA

View Full Version : TextToolItem with broken icons in a toolBar



G.edwin
2 Jun 2009, 4:08 AM
Hello,

I try to insert TextToolItem in a ToolBar, above a Grid. But Icons displayed strangely (you can see it in the attached file).

Here my Java and Css code :



//Java
TextToolItem ttiRefresh = new TextToolItem();
ttiRefresh.setIconStyle("icon-table-refresh");
ttiRefresh.setToolTip("Reinitialize default values");

//CSS
.icon-table-refresh {
background: url(images/icons/fam/table_refresh.gif) no-repeat center left !important;
}


What's wrong with that ? The icon is well found, but there is a kind of "display bug". (My pictures files are not corrupted.)