Friday, July 3, 2015

Re: Unwanted DataGrid cell padding / indentation

That's very odd.  I didn't look real long, but I can't find anything in GWT 2.8, 2.7, or 2.6 that would add styling for dataGridCell>div.  May I ask what version of GWT you're using?

On Friday, July 3, 2015 at 11:50:09 AM UTC-4, Julien wrote:
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 ?

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