Saturday, October 5, 2013

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

but we have to use dialog.setPopupPositionAndShow to get the width otherwise there no way to get the WidthHeight of dialog dynamically.

On Saturday, October 5, 2013 2:18:13 AM UTC+10, Tom wrote:
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate