This Window resize would be very hard to be done.
You cannot resize window if its not a window opened by your application...(just one opend by a opener one can be re-sized, you cannot resize a tab)
Why do you need the resize? If its just to force a redraw, relayout because you added something in the DOM and this is not sized correct then you can
This also dosent mean that the relayout will work, maybe the css its just not correct for what you want to do...
Note: Window class inside has a check if the new size is diff then the previous one, just in this case fires the handler...
Blaze
Am Mittwoch, 21. August 2013 14:01:34 UTC+2 schrieb AgitoM:
-- You cannot resize window if its not a window opened by your application...(just one opend by a opener one can be re-sized, you cannot resize a tab)
Why do you need the resize? If its just to force a redraw, relayout because you added something in the DOM and this is not sized correct then you can
try setting a style.display on the "MainFrame" you have by setting it to once to style.display.None and then back again to style.display.block...
This also dosent mean that the relayout will work, maybe the css its just not correct for what you want to do...
Note: Window class inside has a check if the new size is diff then the previous one, just in this case fires the handler...
Blaze
Am Mittwoch, 21. August 2013 14:01:34 UTC+2 schrieb AgitoM:
In one of my applications I am ResizeHandler to resize the GUI of my app.This works fine, but there is one part in my code where I would like to manually trigger a Resize.Does anyone know how I can do that?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment