Re: DockLayoutPanel Sample Code No Style Issue

2010-05-24 Thread Matt
I'm really surprised no one else has chimed in on this.  I was
thinking it should be just as simple as a missing CSS.

Any suggestions are greatly appreciated.
-m

On May 21, 11:42 am, Matt ima...@gmail.com wrote:
 Yep, I have !doctype html at the top of my html file..

 On May 21, 11:40 am, kozura koz...@gmail.com wrote:





  You have !DOCTYPE html at the top of your HTML file to set the
  browser to standards mode?

  On May 21, 10:01 am, Matt ima...@gmail.com wrote:

   I tried the DockLayoutCode which is presented in the 
   Javadoc:http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
   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
   DockLayoutPanel in the Developer's 
   Guide:http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

   Am I missing a css or something else really simple?
   Thanks!
   -m

  --
  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-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-web-toolkit?hl=en.

 --
 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-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



DockLayoutPanel Sample Code No Style Issue

2010-05-21 Thread Matt
I tried the DockLayoutCode which is presented in the Javadoc:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/DockLayoutPanel.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
DockLayoutPanel in the Developer's Guide:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

Am I missing a css or something else really simple?
Thanks!
-m

-- 
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-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DockLayoutPanel Sample Code No Style Issue

2010-05-21 Thread kozura
You have !DOCTYPE html at the top of your HTML file to set the
browser to standards mode?

On May 21, 10:01 am, Matt ima...@gmail.com wrote:
 I tried the DockLayoutCode which is presented in the 
 Javadoc:http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
 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
 DockLayoutPanel in the Developer's 
 Guide:http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

 Am I missing a css or something else really simple?
 Thanks!
 -m

-- 
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-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DockLayoutPanel Sample Code No Style Issue

2010-05-21 Thread Matt
Yep, I have !doctype html at the top of my html file..

On May 21, 11:40 am, kozura koz...@gmail.com wrote:
 You have !DOCTYPE html at the top of your HTML file to set the
 browser to standards mode?

 On May 21, 10:01 am, Matt ima...@gmail.com wrote:





  I tried the DockLayoutCode which is presented in the 
  Javadoc:http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
  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
  DockLayoutPanel in the Developer's 
  Guide:http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

  Am I missing a css or something else really simple?
  Thanks!
  -m

 --
 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-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.