function TableForm(parent)
{
	Component.call(this, parent, "div");

	this.element.style.overflow = "visible";
	
	/**
	 * Set if the form needs to be automatically resized.
	 *
	 * @property autoSize
	 * @type {boolean}
	 */
	this.autoSize = true;

	/**
	 * Resize the last element of the rows to fit the size of the container.
	 *
	 * @method fitElements
	 * @type {boolean}
	 */
	this.fitElements = true;

	/**
	 * Spacing between elements and rows.
	 *
	 * @property spacing
	 * @type {Vector2}
	 */
	this.spacing = new Vector2(5, 5);

	/**
	 * Default text width.
	 *
	 * @property defaultTextWidth
	 * @type {number}
	 */
	this.defaultTextWidth = 80;

	/**
	 * Rows of this form table.
	 *
	 * @property rows
	 * @type {Array}
	 */
	this.rows = [];
	this.rows.push([]);
}
Table form element automatically organizes element into a grid like form.

@class TableForm
@extends {Component}
@param {Component} parent Parent element.