Check this code: PopupPanel p = new PopupPanel(); p.setSize(p.getOffsetWidth() + "px", p.getOffsetHeight() + "px");
As expected, nothing should happen., size of the popup panel should not change But you can notice that the size changes. Both height and width increases by the amount of padding padding/margin/border specified in the style. I you make those attribute 0px, it works. This problem is not seen with DecoratedPopupPanel, reason being, DecoratedPopupPanel does not use those attributes. Any one know the workaround, or what's wrong here? -- 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.
