                 newContentGroupProperties = BitFlagUtil.update(newContentGroupProperties, 
                     CONTENT_PROPERTY_FLAG, true);
             }
+            else if (defaultContent)
+            {
+                group.mxmlContent = defaultContent;	
+            }
             
             if (contentGroupProperties[index].layout !== undefined)
             {
-                group.layout = contentGroupProperties.layout;
+                group.layout = contentGroupProperties[index].layout;
                 newContentGroupProperties = BitFlagUtil.update(newContentGroupProperties, 
                     LAYOUT_PROPERTY_FLAG, true);
             }
             
-            if (defaultContent)
-            {
-                group.mxmlContent = defaultContent;	
-            }
-            
             contentGroupProperties[index] = newContentGroupProperties;
-            contentGroupLayouts[index] = group.layout;
         }
     }
     

     */
    public function get titleLayout():LayoutBase
    {
        return (titleGroup) ? titleGroup.layout : contentGroupProperties[TITLE_GROUP_PROPERTIES_INDEX].layout;
    }
    
    /**

                    LAYOUT_PROPERTY_FLAG, true);
        }
        else
            contentGroupProperties[TITLE_GROUP_PROPERTIES_INDEX].layout = value;
    }
    
    //----------------------------------
