      *  Returns a Rectangle containing the largest piece of header
      *  text (can be either the title or status, whichever is bigger).
      */
-    private function measureHeaderText():Rectangle
+    private function measureHeaderText(useDummyString:Boolean = false):Rectangle
     {
         var textWidth:Number = 20;
         var textHeight:Number = 14;

     *  Proxy to getHeaderHeight() for PanelSkin
     *  since we can't change its function signature
     */
    mx_internal function getHeaderHeightProxy():Number
    {
        return getHeaderHeight();
    }

    /**

            metrics = textFormat.measureText(titleTextField.text, false);
            textWidth = metrics.width;
            textHeight = metrics.height;
        }
        else
        {
            if (useDummyString)
            {
                if (titleTextField)
                {
                    textFormat = titleTextField.getUITextFormat();
                    metrics = textFormat.measureText("Wj", false);
                    textWidth = metrics.width;
                    textHeight = metrics.height;
                }
            }
        }
        
        if (statusTextField && statusTextField.text)
