Friday, December 3, 2010

Re: onResize issue with IE 7

Hi Mayumi,

I am happy that there is someone else struggling with this problem.

Well, within onResize I just call resizeLater:

public void onResize()
{
super.onResize();
resizeLater();
}

Ans resizeLater just schedules this action to be performed later:

private void resizeLater ()
{
Scheduler.get().scheduleDeferred
(
new ScheduledCommand()
{
public void execute()
{
myResize ();
}
}
);
}

And in myResize I do the resize actions themselves. When this method
is called, the new sizes are available through getOffset[Width|
Height].

But this is not a solution for me, since I have to deal with this
stuff in every subclass.

HTH (but I hope that someone helps me .-))
Magnus

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate