Tuesday, May 31, 2011

Re: Canvas dimensions

Hi Cheers,

I read long ago according to where the application runs for certain parameterschanged the settings.

GetOffsetWidth I think is one of them.

Can it be?


2011/5/31 Thomas Lefort <leforthomas@gmail.com>
Hi,

I have a canvas in a hidden panel. It is created before the panel is
made visible. The problem I'd like to set its DOM width to 100% but I
have a problem with the setCoordinateSpaceWidth then as I cannot get
the canvas dimension via getOffsetWidth as the canvas is not visible.
I don't even think I can add a resizeevent to Canvas nor is there a
VisibleEvent. Would appreciate if anybody had an idea as to how to
circumvent the problem?

Cheers,

Thomas

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment