On Feb 7, 8:05 am, Philippe Lhoste <[email protected]> wrote: > [...] > I see a line-height property set to 22px. Looks like being the default, not > sure where it comes from. If I set it to, say, 10px, the bottom margin > disappears. Idem if I add the line: > > s.setProperty("lineHeight", 10, Style.Unit.PX);
That works for me too. Thank you for taking the time to look at it. After sleeping I see that I was forgetting the <!doctype html> at the top of my static files, which caused them to render differently, without the space. So it's not a GWT issue. And after seeing your line-height suggestion, I thought of vertical-align. Setting vertical- align:bottom (vs default of 'baseline') on the canvas eliminates the extra space, as desired. thanks, Rob -- 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.
