Monday, July 6, 2015

Re: Unwanted DataGrid cell padding / indentation

Thank you very much Raymond and Thomas,
I succeeded to remove the padding with the help of a new CssResource passed to the DataGrid constructor through a ClientBundle.

Le samedi 4 juillet 2015 11:14:05 UTC+2, Thomas Broyer a écrit :
That style comes from the default DataGrid styling: https://github.com/gwtproject/gwt/blob/2.7.0/user/src/com/google/gwt/user/cellview/client/DataGrid.css

Pass a custom ClientBundle and CssResource to the DataGrid constructor to change it.

--
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+unsubscribe@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/d/optout.

No comments:

Post a Comment