 		}
 		
 		private function limitTableFormItemSize(formItem:CollectFormItem):void {
-			var maxAvailableHeight:Number = UIUtil.getMaxAvailableHeight(view);
-			var maxAvailableWidth:Number = UIUtil.getMaxAvailableWidth(view);
+			var tabbedFormContainer:TabbedFormContainer = UIUtil.getFirstAncestor(view, TabbedFormContainer);
+			if ( tabbedFormContainer != null ) {
+				var maxAvailableHeight:Number = tabbedFormContainer.height;
+				var maxAvailableWidth:Number = tabbedFormContainer.width;
+			}
+			//var maxAvailableHeight:Number = UIUtil.getMaxAvailableHeight(view);
+			//var maxAvailableWidth:Number = UIUtil.getMaxAvailableWidth(view);
 			if ( ! isNaN(maxAvailableWidth) && view.useScroller ) {
 				maxAvailableWidth -= INDENT_WIDTH;
 			}

		}
		
		protected function updateCurrentState():void {
			view.useScroller = ! containsOnlyOneMultipleEntity/* || isInsideFormLayoutEntity()*/;
			view.currentState = view.useScroller ? InnerFormContainer.STATE_USE_SCROLLER: InnerFormContainer.STATE_DEFAULT;
		}
		

			var formItem:CollectFormItem;
			if ( defn is AttributeDefinitionProxy ) {
				formItem = UIBuilder.getAttributeFormItem(AttributeDefinitionProxy(defn));
				formItem.labelWidth = insideSingleEntityForm ? INDENTED_LABEL_WIDTH : DEFAULT_LABEL_WIDTH;
			} else {
				formItem = UIBuilder.getEntityFormItem(EntityDefinitionProxy(defn));
				BindingUtils.bindProperty(formItem, "modelVersion", _view, "modelVersion");
