                 else if (elt is SkinnableContainer)
                     layout = SkinnableContainer(elt).layout;
                 
-                
-                
                 if (layout is FormItemLayout)
                 {
                     fiLayout = layout as FormItemLayout;

         */
        override public function measure():void
        {
            
            
            var layout:LayoutBase;
            var fiLayout:FormItemLayout;

            var formItem:IFormItem 
            var elt:IVisualElement
            
            if (colsMaxWidth != null)
            {
                var eltHeight:Number;
                
                for(var i:int = 0; i < nElts; i++)
                {
                    elt = layoutTarget.getElementAt(i);
                    
                    if (elt is GroupBase)
                        layout = GroupBase(elt).layout;
                    else if (elt is FormItem)
                        layout = FormItem(elt).skin["layout"];
                    else if (elt is FormHeading)
                        layout = FormHeading(elt).skin["layout"];
                    else if (elt is SkinnableContainer)
                        layout = SkinnableContainer(elt).layout;
                    
                    if (layout is FormItemLayout)
                    {
                        fiLayout = layout as FormItemLayout;
                        fiLayout.setLayoutColumnWidths(colsMaxWidth);
                        
                        eltHeight = elt.getLayoutBoundsHeight(false);
                        
                        elt.setLayoutBoundsSize(eltWidth, eltHeight); 
                    }
                    
                }
            }
        }
        
        //--------------------------------------------------------------------------
        //
        //  Methods
        //
        //--------------------------------------------------------------------------
        
        /**
         *  @private
         */
        private function getColumnWidthsMax():void
        { 
            const layoutTarget:GroupBase = target;
            
            var layout:LayoutBase;
            var fiLayout:FormItemLayout;
                        
            const nElts:int = layoutTarget.numElements;
            var formItem:IFormItem 
            var elt:IVisualElement
            
            for(var i:int = 0; i < nElts; i++)
            {
                elt = layoutTarget.getElementAt(i);
                if (elt is GroupBase)
                    layout = GroupBase(elt).layout;
                else if (elt is FormItem)
