Are you using a TabPanel or a TabLayoutPanel? I think you have to use a TabLayoutPanel instead of a TabPanel because the TabLayoutPanel implements both ProvideResize and RequireResize interfaces. Basically you always have to a chain of Panels which implement those interfaces in order to properly propagate the resize event. If you put your Canvas Widget not in a LayoutPanel you have to set a specific height and width for the parent container widget in order to retrieve the dimensions otherwise I think getOffsetWidth will always return 0.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PpVwXYu7wk8J. 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.
