Now that GSS will be shipped in GWT 2.7 as an experimental feature, I'm
wondering if we shouldn't provide GSS files for all existing CssResource
interfaces present in GWT. The idea is to keep the associated .css files
and use them by default but also to provide GSS files in order that people
can use GSS to style their widgets.
Let take the cell widgets (CelTable, CellList...) as example. If you want
to override default style, you do something like:
public interface TableResources extends CellTable.Resources {
interface Style extends CellTable.Style {
}
@Override
@Source({ CellTable.Style.DEFAULT_CSS, "css/table.css"})
Style cellTableStyle();
}
In this case, it's impossible to use GSS because you cannot mix .css and
.gss files on the same resource. So the only mean to use GSS is to first
convert manually the default css file to gss and include it in your
application or start from scratch.
So I would like that GWT provides these gss files that user can use in
their @Source annotations in order to override the default style.
What do you guys think ?
Julien
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D6To8pLn%3D0EmgLRQdByrx_m0-CURafkr7FhZRMwxGXbqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.