Description:
The body portion of the StackPanel does not have an associated style name, so it cannot be styled. It would be nice to have a style name associated with the body to specify border color and padding.

Fix:
Added the style to the StackPanel.

Testing:
Tested manually on all browsers.


Found by: jlabanca
Fixed by: jlabanca
Review by: ecc


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1689 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/StackPanel.java b/user/src/com/google/gwt/user/client/ui/StackPanel.java
index a5d8cbe..b2aa9b9 100644
--- a/user/src/com/google/gwt/user/client/ui/StackPanel.java
+++ b/user/src/com/google/gwt/user/client/ui/StackPanel.java
@@ -30,6 +30,10 @@
  * <li>.gwt-StackPanel { the panel itself }</li>
  * <li>.gwt-StackPanel .gwt-StackPanelItem { unselected items }</li>
  * <li>.gwt-StackPanel .gwt-StackPanelItem-selected { selected items }</li>
+ * <li>.gwt-StackPanel .gwt-StackPanelContent { the wrapper around the contents
+ * of the item }</li>
+
+
  * </ul>
  * <p>
  * <h3>Example</h3>
@@ -132,6 +136,7 @@
     DOM.setElementProperty(tdh, "height", "1px");
 
     // body styling
+    setStyleName(tdb, "gwt-StackPanelContent", true);
     DOM.setElementProperty(tdb, "height", "100%");
     DOM.setElementProperty(tdb, "vAlign", "top");