Monday, September 5, 2016

Re: GWT2.8RC : onResize() calls changed



On Monday, September 5, 2016 at 12:27:36 PM UTC+2, Thomas Lacroix wrote:

Hello,
I have a class that implements ResizeComposite and overrides onResize().
A change I see migrating from 2.7 to 2.8RC2 is that the onResize() method is called much more frequently (i.e. when the widget is shown from a tabPanel) whereas this method used to be called only (mostly?) when I resized the window manually with 2.7.
I am not sure if this is a bug (hidden state may be considered to have a null size ?) but it is a change of behavior to take into account.

This is the side-effect of a bugfix: https://github.com/gwtproject/gwt/issues/7185 (see also linked issues, specifically about the TabLayoutPanel)

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment