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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
