Author: [EMAIL PROTECTED]
Date: Wed Sep 10 08:58:07 2008
New Revision: 3642
Modified:
trunk/user/src/com/google/gwt/user/client/ui/TabBar.java
Log:
Added styles gwt-TabBarFirst-wrapper and gwt-TabBarRest-wrapper to the
TabBar.
Patch by: jlabanca
Review by: ecc
Issue: 2869
Modified: trunk/user/src/com/google/gwt/user/client/ui/TabBar.java
==============================================================================
--- trunk/user/src/com/google/gwt/user/client/ui/TabBar.java (original)
+++ trunk/user/src/com/google/gwt/user/client/ui/TabBar.java Wed Sep 10
08:58:07 2008
@@ -28,7 +28,11 @@
* <ul class='css'>
* <li>.gwt-TabBar { the tab bar itself }</li>
* <li>.gwt-TabBar .gwt-TabBarFirst { the left edge of the bar }</li>
+ * <li>.gwt-TabBar .gwt-TabBarFirst-wrapper { table cell around the left
edge }
+ * </li>
* <li>.gwt-TabBar .gwt-TabBarRest { the right edge of the bar }</li>
+ * <li>.gwt-TabBar .gwt-TabBarRest-wrapper { table cell around the right
edge }
+ * </li>
* <li>.gwt-TabBar .gwt-TabBarItem { unselected tabs }</li>
* <li>.gwt-TabBar .gwt-TabBarItem-wrapper { table cell around tab }</li>
* <li>.gwt-TabBar .gwt-TabBarItem-selected { additional style for selected
@@ -122,6 +126,10 @@
first.setHeight("100%");
panel.setCellHeight(first, "100%");
panel.setCellWidth(rest, "100%");
+ setStyleName(first.getElement().getParentElement(),
+ "gwt-TabBarFirst-wrapper");
+ setStyleName(rest.getElement().getParentElement(),
+ "gwt-TabBarRest-wrapper");
}
/**
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---