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