             // check for negative width
             titleCompWidth = (titleCompWidth < 0) ? 0 : titleCompWidth;
             
-            titleDisplay.setLayoutBoundsSize(titleCompWidth, titleHeight);
-            titleDisplay.setLayoutBoundsPosition(titleCompX, titleCompY);
+            setElementSize(titleDisplay, titleCompWidth, titleHeight);
+            setElementPosition(titleDisplay, titleCompX, titleCompY);
             
             titleDisplay.visible = true;
         }

            // ignore text width...we just need textHeight, but we need to use 
            // measureText("Wj") to figure this out
            var lineMetrics:TextLineMetrics = measureText("Wj");
            textHeight = measureText("Wj").height + UITextField.TEXT_HEIGHT_PADDING;
            descent = lineMetrics.descent;
        }
        

            titleGroup.visible = true;
            
            // use titleGroup for titleContent
            setElementSize(titleGroup, titleCompWidth, contentGroupsHeight);
            setElementPosition(titleGroup, titleCompX, layoutBorderHeight);
        }
        else
        {
