Friday, October 4, 2013

how to get the width & height of dialog box (also calculate the actual size of dialog when it was shown) in GWT?

I have a dialogbox holding a HTMLPanel that has a flextable & 2 buttons.

So I tried myDialog.getOffsetWidth & myDialog.getOffsetHeight, it showed some result but somehow it doesn't count the size of the widgets inside HTMLPanel inside DialogBox.

how to get the width & height of dialog box (also calculate the actual size of dialog when it was shown) in GWT?

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