Friday, July 3, 2015

Re: Unwanted DataGrid cell padding / indentation

Thank you for your answer !
I think too that the style of the div inside td is the issue

I can see that this div gets this padding from this css rule :

.com-google-gwt-user-cellview-client-DataGrid-Style-dataGridCell>div {
  padding: 2px 15px;
  overflow: hidden;
}

which is defined in a <style> tag of the HTML page (inlined).

Am I doing something wrong that add this css rule ? Or is this the way it's supposed to be ?

Le vendredi 3 juillet 2015 17:37:05 UTC+2, Raymond Hawkins a écrit :
The <div> inside the <td> shouldn't have any padding by default.  I would inspect that element and find out what css is giving it padding.

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