Friday, September 28, 2012

Re: white screen on iphone (maybe iOS6 issue)

You can easily create your own Panel by extending ComplexPanel and attaching ResizeHandler

something like this:

Window.addResizeHandler(new ResizeHandler() {
for (Widget child : getChildren()) { if (child instanceof RequiresResize) { ((RequiresResize) child).onResize(); }
}

You should also implement all methods from RootPanel.

Best,
Milan

On Friday, September 28, 2012 4:23:17 PM UTC+2, MeiAestro wrote:
Ok, now I am sure it is an iOS6 problem. It still works on older iOS. And I am also sure that it has to do something with the RootLayoutPanel. Everything is shown correctly when I use RootPanel, but then I cannot use the required onResize functionality.

Any ideas?

--
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/-/S0vJlJvcbUYJ.
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