Try giving your absolute panel a size.
Ian

http://examples.roughian.com


2009/9/17 Hethcox <[email protected]>

>
> The code is all over the place. However, this snippet:
>
>    public final void onModuleLoad() {
>
>        AbsolutePanel aPanel = new AbsolutePanel();
>        aPanel.add( new CheckBox( "Pick Me!!!" ), 10, 10 );
>        RootPanel.get().add(aPanel);
>    }
>
> doesn't work. If it is a CSS issue, do you have suggestions for
> diagnosing it?
> John
>
> On Sep 17, 2:23 pm, Ian Bambury <[email protected]> wrote:
> > I would guess that this is a css problem (based on the fact that I've had
> no
> > problem adding absolute panels to the root panel).
> > Do you have a bit of example code?
> >
> > Ian
> >
> > http://examples.roughian.com
> >
> > 2009/9/17 Hethcox <[email protected]>
> >
> >
> >
> > > Well into our development cycle we discovered the our GWT 1.6
> > > application no longer worked in Firefox. (Versions 3.5.2 and 3.5.3
> > > were the only ones we tried). After some tinkering I found that
> > > placing an AbsolutePanel in the         RootPanel.get().add(aPanel);
> call
> > > was
> > > the problem. Using a DockPanel instead of the AbsolutePanel fixed the
> > > issue. (Surprisingly, putting the existing AbsolutePanel in the center
> > > of the DockPanel did not help).
> >
> > > The app worked great in IE without alteration.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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