     {
         super.measure();
                  
+        // ScrollerLayout.measure() has heuristics for figuring out whether to
+        // use the actual content size or the preferred size when there are
+        // automatic scroll bars.  Force it to use the preferredSizes until
+        // the content sizes have been updated to accurate values.  This
+        // comes into play when remeasuring to reduce either the width/height.
+        _contentWidth = 0;
+        _contentHeight = 0;
+               
         // percentWidth and/or percentHeight will come back in as constraints
         // on the remeasure if we're autoSizing.
                           

        
        if (event.keyCode == Keyboard.ENTER)
        {
            if (multiline)
            {
                // This is the same code that is in the EditManager for handling
                // the enter key.
                getEditManager().splitParagraph();
                releaseEditManager();
                event.preventDefault();
                //event.stopImmediatePropagation();
            }
            else
            {
                dispatchEvent(new FlexEvent(FlexEvent.ENTER));
            }
         }

        staticTextLayoutFormat.paddingBottom = FormatValue.INHERIT;
        staticTextLayoutFormat.verticalAlign = FormatValue.INHERIT;
            
        staticPlainTextImporter =
            TextConverter.getImporter(TextConverter.PLAIN_TEXT_FORMAT);
        
        // Throw import errors rather than return a null textFlow.
        // Alternatively, the error strings are in the Vector, importer.errors.
