                     element.validateDisplayList();
             }
         }
+        
+        updateScrollRect(unscaledWidth, unscaledHeight);
     }
     
     override public function addChild(child:DisplayObject):DisplayObject

            _layout.measure();
    }
    
    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
        super.updateDisplayList(unscaledWidth, unscaledHeight);

    
    
    //----------------------------------
    //  contentWidth
    //---------------------------------- 
    
    private var _contentWidth:Number = 0;
    
    [Bindable]
    [Inspectable(category="General")]    

    public function get contentWidth():Number 
    {
        return _contentWidth;
    }
    
    private function set contentWidth(value:Number):void 
    {
        _contentWidth = value;
    }

    //----------------------------------
    //  contentHeight
    //---------------------------------- 
    
    private var _contentHeight:Number = 0;
    
    [Bindable]
    [Inspectable(category="General")]    

    public function get contentHeight():Number 
    {
        return _contentHeight;
    }
    
    private function set contentHeight(value:Number):void 
    {            
        _contentHeight = value;
    }    


    public function setContentSize(w:Number, h:Number):void
    {
    	if ((w == _contentWidth) && (h == _contentHeight))
    	   return;
    	contentWidth = w;
    	contentHeight = h;
    }

    //--------------------------------------------------------------------------
    //
