     import mx.containers.utilityClasses.ConstraintColumn;
     import mx.core.IVisualElement;
     import mx.core.UIComponent;
+    import mx.core.mx_internal;
     
+    import spark.components.FormHeading;
+    import spark.components.FormItem;
     import spark.components.IFormItem;
+    import spark.components.SkinnableContainer;
     import spark.components.supportClasses.GroupBase;
+    import spark.layouts.supportClasses.LayoutBase;
+    
+    use namespace mx_internal;
     
     /**
      *  The default layout for Spark Form skins.

                        colsMaxWidth[k] = Math.max(colsMaxWidth[k], cols[k]);
                    }
                    
                }
            }
            
            var columnMaxWidths:Vector.<Number> = colsMaxWidth.slice(0);
            
            for(i = 0; i < nElts; i++)
            {
                elt = layoutTarget.getElementAt(i);
                if (elt is IFormItem)
                {
                    formItem = IFormItem(elt);
                    formItem.layoutColumnWidths = columnMaxWidths;
                }
            }
            super.measure();
         }
    }
}
    

        override public function measure():void
        {
            
            
            var layout:LayoutBase;
            var fiLayout:FormItemLayout;
            
            // Apply constraint columns before measuring
            const layoutTarget:GroupBase = target;
            if (!layoutTarget)
