Otherwise, TabSheet close button may break the small theme
in ReindeerThemeTest when the caption width is rounded down.
}
if (captionText != null) {
int textWidth = captionText.getScrollWidth();
- if (BrowserInfo.get().isFirefox()) {
+ if (BrowserInfo.get().isFirefox() || BrowserInfo.get().isChrome()) {
/*
- * In Firefox3 the caption might require more space than the
- * scrollWidth returns as scrollWidth is rounded down.
+ * The caption might require more space than the scrollWidth
+ * returns as scrollWidth is rounded down.
*/
int requiredWidth = WidgetUtil.getRequiredWidth(captionText);
if (requiredWidth > textWidth) {
-Subproject commit 7d70f6d3fa34ae6fdbfb874994f24ba08abfe13b
+Subproject commit 22411451972c80c172196361499d8403c9323c1d