         if (isNaN(borderWeight))
             borderWeight = 1;
         
-        
-        // position & size the content group
-        contentGroup.x = contentGroup.y = borderWeight;
-        contentGroup.width = unscaledWidth - borderWeight * 2;
-        contentGroup.height = unscaledHeight - borderWeight * 2;
+        contentGroup.setStyle("left", borderWeight);
+        contentGroup.setStyle("right", borderWeight);
+        contentGroup.setStyle("top", borderWeight);
+        contentGroup.setStyle("bottom", borderWeight);
         
         // update the bgRect stroke/fill
         if (hostComponent.borderStroke)

        insetPath = new Path();
        addElement(insetPath);
	}
    
	
    /**
     *  @private 

	private var bgRect:Rect;
    private var insetPath:Path;
    private var rds:RectangularDropShadow;
    
    //--------------------------------------------------------------------------
    //
    //  Overridden methods
