I filed an issue with the GWT incubator project that reproduces this problem with a much simpler chunk of code (all you need is a single grid, no nesting required) than where I initially found it in the more complicated code:
http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=275 Pretty sure it's a GWTCanvas bug. In the issue above I provide code to reproduce it and a workaround. John On May 6, 12:43 am, John Gunther <[email protected]> wrote: > I'm using a GWTCanvas widget inside of div inside of...inside of a > Grid widget inside of another Grid widget inside of...etc. > > It all works just fine in Firefox. > > But in IE7 I'm finding that, unless I left-align the innermost Grid > cell, the x-coordinates are getting mangled, shifting the stuff drawn > inside the canvas (in this case, they are pie slices, but I have also > seen it with rectangles in an earlier test with somewhat less > nesting...but still with those same two nested Grids) along x > inappropriately. > > Oddly, the canvas itself is positioned correctly, it is as if the > drawn elements within it are dragged to the right-in some cases (right- > aligned) entirely off the canvas, in others > (center-aligned) seems about half-way. > > I'm seeing this within a complex nested DOM structure, have not yet > tested if any old Grid cell would produce this problem. > > Other, similar, stuff, not nested in a Grid (but nested in divs only) > renders just fine in both FF and IE, > > The outer Grid is hidden and the inner is visible, which is kind of an > unusual combination and thus could have something to do with it, > perhaps? > > Has anyone seen anything like this before? Any workarounds (nothing > I've tried so far to beat this has worked). > > John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
