title: GWT: How do I center content in a panel?
body: <p>I'm using GWT 2.4.  I have a view with some simple content ...</p>
  
  <pre><code>    final Image ajaxImage = new Image("loading.gif");
      final Grid grid = new Grid(1, 2); 
      grid.setText(0, 0, "Loading...");
      grid.setWidget(0, 1, ajaxImage);
      this.container = new FlowPanel();
      this.container.add(grid);
      rootPanel = new SimplePanel();
      rootPanel.add(this.container);
  </code></pre>
  
  <p>I would like this content to be centered horizontally and vertically in the containing panel, which is a FlowPanel, if that matters.  How do I do that?</p>
  
  <p>Thanks, - Dave</p>