Ok, but when I attached the Label to the AbsolutePanel and do "getOffsetWidth()", I get for Example a width of 700px for the AbsolutePanel and a width of 698px for the Label. Certainly the label is less smaller. Is there any reason for? I want to place the Label at the center of the Panel, but therefore I have to know the size of the Label.
On 6 Sep., 20:49, Jeff Larsen <[email protected]> wrote: > the label needs to be attached before you're able to get the size. -- 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.
