         if (tabBar.includeInLayout)
         {
             tabBar.alpha = .5;
-            componentHeight = tabBar.getExplicitOrMeasuredHeight();
+            componentHeight = tabBar.getPreferredBoundsHeight();
             tabBar.setLayoutBoundsSize(unscaledWidth, componentHeight);
             tabBar.setLayoutBoundsPosition(0, top);
             

    			
    			if (contentGroupHeight < contentGroup.minHeight)
    				contentGroupHeight = contentGroup.minHeight;
    			
                contentGroup.setLayoutBoundsPosition(0, top);
                contentGroup.setLayoutBoundsSize(unscaledWidth, contentGroupHeight);
    		}
        }
    }

            
            if (contentGroup.includeInLayout)
            {
                contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
                contentGroup.setLayoutBoundsPosition(0, 0);
            }
        }
        else
