Friday, July 3, 2015

Unwanted DataGrid cell padding / indentation

Hi everyone,
I'm creating a DataGrid and I don't understand why there is one padding too many:





The code used to do this is here :

DataGrid<String> datagrid = new DataGrid<String>();

datagrid.addColumn(new TextColumn<String>() {

@Override

public String getValue(String object) {

return object;

}

}, "Header 1");

List<String> list = Arrays.asList("Elem 1", "Elem 2", "Elem 3");

datagrid.setRowData(list);



It really bother me and I would like to know if it does the same for you too ? Or if I'm doing something wrong ? And how can I remove this padding ?
On the GWT Showcase I can see there is no unwanted padding : http://samples.gwtproject.org/samples/Showcase/Showcase.html?locale=en_US#!CwCellTable

--
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