Fixing previous commit by making the dependent styles lower case.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1677 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/MenuBar.java b/user/src/com/google/gwt/user/client/ui/MenuBar.java
index 440529d..2df8458 100644
--- a/user/src/com/google/gwt/user/client/ui/MenuBar.java
+++ b/user/src/com/google/gwt/user/client/ui/MenuBar.java
@@ -36,8 +36,8 @@
* <h3>CSS Style Rules</h3>
* <ul class='css'>
* <li>.gwt-MenuBar { the menu bar itself }</li>
- * <li>.gwt-MenuBar-Horizontal { applied to horizontal menu bars }</li>
- * <li>.gwt-MenuBar-Vertical { applied to vertical menu bars }</li>
+ * <li>.gwt-MenuBar-horizontal { applied to horizontal menu bars }</li>
+ * <li>.gwt-MenuBar-vertical { applied to vertical menu bars }</li>
* <li>.gwt-MenuBar .gwt-MenuItem { menu items }</li>
* <li>.gwt-MenuBar .gwt-MenuItem-selected { selected menu items }</li>
* </ul>
@@ -90,9 +90,9 @@
sinkEvents(Event.ONCLICK | Event.ONMOUSEOVER | Event.ONMOUSEOUT);
setStyleName("gwt-MenuBar");
if (vertical) {
- addStyleName("gwt-MenuBar-Vertical");
+ addStyleName("gwt-MenuBar-vertical");
} else {
- addStyleName("gwt-MenuBar-Horizontal");
+ addStyleName("gwt-MenuBar-horizontal");
}
}