Using gwt 2.5.1 

GWT project has main CSS file (proj.css), specified in the project html 
(proj.html).



   1. <html>
   2.     <head>
   3.         ...
   4.         <link type="text/css" rel="stylesheet" href="proj.css">
   5. ...

Another CSS file (Table.css) compiled with styles for the class CellTable. 
I took google`s basic style and changed it for myself.

New resource code:


   1. ...
   2. import com.google.gwt.user.cellview.client.CellTable;
   3.  
   4. public interface TableRes extends CellTable.Resources {
   5.     interface TableStyle extends CellTable.Style {
   6.     }
   7.  
   8.     @Override
   9.     @Source({ CellTable.Style.DEFAULT_CSS,  "path/table.css" })
   10.     TableStyle cellTableStyle();
   11. }


Linking new resource code:

final CellTable<TableInfo> table = new CellTable<TableInfo>(20, 
(CellTable.Resources) GWT.create(TableRes.class));

Result: 

Style did not apply.

Note:
If i make a mistake in TableRes css path, host mode does not work. So path 
to table.css is ok. 

What is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to