On 07/02/2012 15:20, Rob wrote:
s.setProperty("lineHeight", 10, Style.Unit.PX);That works for me too. Thank you for taking the time to look at it.
It is always an opportunity to learn new things... :-)
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.
Aah, smart, cleaner than setting line-height to an arbitrary value, indeed. Good to know. Thanks.
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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.
