Ian,

I thought I was also giving a general answer by pointing to an
implementation of what we might term the "deferred positioning"
pattern.

Walden

On Oct 21, 11:22 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> I knew that! But the original question appeared to be more general to me.
>
> Wrong again.
>
> @raft
>
> Sorry, +ve is shorthand for positive, -ve for negative. That's my
> electronics experience showing :-(
>
> Ian
>
> http://examples.roughian.com
>
> 2008/10/21 walden <[EMAIL PROTECTED]>
>
>
>
>
>
> > See: PopupPanel.setPopupPositionAndShow(PositionCallback callback).  I
> > have not had a problem with flicker.
>
> > Walden
>
> > On Oct 21, 10:36 am, r a f t <[EMAIL PROTECTED]> wrote:
> > > thank you. that sounds to be a good solution. what is that +ve by the
> > > way ?
>
> > > On Oct 21, 5:28 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
>
> > > > AFAIK, it has to be attached and (theoretically) visible for you to get
> > the
> > > > size, but you can set the left position to -20000 or something silly so
> > it
> > > > won't be seen. Not +ve or you might get scroll-bars. If you find a
> > better
> > > > way, please post it :-)
> > > > Ian
>
> > > >http://examples.roughian.com
>
> > > > 2008/10/21 r a f t <[EMAIL PROTECTED]>
>
> > > > > hello,
>
> > > > > placing certain widgets  (such as a popup) requires size of widget,
> > so
> > > > > is it possible to get the size of a  widget before making it visible
> > ?
> > > > > getOffsetWidth() / Height() methods return zero when widget is not
> > > > > visible.
>
> > > > > making widget visible, getting size and then placing it seems to be
> > > > > workaround but i guess it will cause flicker
>
> > > > > thanks,
> > > > > r a f t- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to