I tried the DockLayoutCode which is presented in
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html:
DockLayoutPanel p = new DockLayoutPanel(Unit.EM);
p.addNorth(new HTML("header"), 2);
p.addSouth(new HTML("footer"), 2);
p.addWest(new HTML("navigation"), 10);
p.add(new HTML("some content"));
// I added this:
RootLayoutPanel.get().add(p);
All this code was obviously placed inside the onModuleLoad
substituting the sample Eclipse startup code when you create a new
GWT app. The output looked nothing like what was presented on that
page.
I also tried the SplitLayoutPanel code right below that one. Likewise,
the result was nothing that I expected. For one, there were no "grab"
area to drag. I inspected the generated page in Firebug and I can
certainly see the "grab" area there, but I don't see anything to drag.
Moving the mouse around that area doesn't change the mouse into a hand
and doesn't let me grab the separation, etc...
What am I doing wrong here?
On a similar note... I was surprise to see the Eclipse autogenerate
HTML page say that it is in quirks mode and changing to standards mode
could have layout consequences (etc.) when the "goals" of GWT 2.0
clearly state that they only aim to support standards mode.
Could someone guide me on this one?
Thanks,
NG.
--
Thanks,
NG
Hi,
I tried the DockLayoutCode which is presented in
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html:
DockLayoutPanel p = new DockLayoutPanel(Unit.EM);
p.addNorth(new HTML("header"), 2);
p.addSouth(new HTML("footer"), 2);
p.addWest(new HTML("navigation"), 10);
p.add(new HTML("some content"));
// I added this:
RootLayoutPanel.get().add(p);
All this code was obviously placed inside the onModuleLoad
substituting the sample Eclipse startup code when you create a new
GWT app. The output looked nothing like what was presented on that
page.
I also tried the SplitLayoutPanel code right below that one. Likewise,
the result was nothing that I expected. For one, there were no "grab"
area to drag. I inspected the generated page in Firebug and I can
certainly see the "grab" area there, but I don't see anything to drag.
Moving the mouse around that area doesn't change the mouse into a hand
and doesn't let me grab the separation, etc...
What am I doing wrong here?
On a similar note... I was surprise to see the Eclipse autogenerate
HTML page say that it is in quirks mode and changing to standards mode
could have layout consequences (etc.) when the "goals" of GWT 2.0
clearly state that they only aim to support standards mode.
Could someone guide me on this one?
Thanks,
NG.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
On Jan 12, 12:59 pm, Stine Søndergaard <stinespl...@gmail.com> wrote:
> Looking very much forward to the default styles :) To me the way to even
> just a sample application seems endless without them... *sigh*...
On Jan 13, 4:48 am, Stine Søndergaard <stinespl...@gmail.com> wrote:
> The most frustrating is that all this CSS invention seems so obvious to
> everybody else!! ;D