Click or drag to resize

TableLayoutHorizontalScaled Method (TableCell)

Creates a horizontal table layout with the specified cells scaled equally.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public static TableLayout HorizontalScaled(
	params TableCell[] cells


Type: Eto.FormsTableCell
Cells for the row

Return Value

Type: TableLayout
A new single row table layout with the specified cells
Since table layouts are by default vertical by defining the rows and the cells for each row, it is verbose to create nested tables when you want a horizontal table. E.g.
new TableLayout(new TableRow(...))
. This method is used to easily create a single row table layout with a horizontal set of cells. E.g.
The difference between Horizontal and HorizontalScaled is that this method sets ScaleWidth on each cell.
See Also