0
在我的GWT應用程序中,我有兩個CellLists。每個都有不同的風格,如下所示:GWT:即使使用不同的css資源,兩個CellList樣式也會重疊
public interface MyResources extends Resources
{
/**
* The styles used in this widget.
*/
@Override
@Source("com/example/CellList.css")
Style cellListStyle();
}
MyResources CELLLIST_RESOURCES = GWT.create(MyResources.class);
......
mylist=new CellList<MyProxy>(myCell, CELLLIST_RESOURCES);
這兩個CellLists都有不同的css文件。但是當我發現時,這兩個列表的風格是相同的。這很奇怪,有什麼想法?