Kinemium Docs

UITableLayout

A modifier class that arranges GUI elements in a table-like grid layout.

Properties

PropertyTypeDefault
Namestring"UITableLayout"
Enabledbooleantrue
Columnstable{}
RowHeightUDimUDim.new(0, 40)
PaddingXUDimUDim.new(0, 8)
PaddingYUDimUDim.new(0, 4)
SortOrderEnumItemEnum.SortOrder.LayoutOrder
HorizontalAlignmentEnumItemEnum.HorizontalAlignment.Left
VerticalAlignmentEnumItemEnum.VerticalAlignment.Top
FillEmptyColumnsbooleantrue
totalPaddingXanytotalPaddingX + px.X
totalPaddingYanytotalPaddingY + px.Y
maxColsany#cells
scaleTotalanyscaleTotal + def.Width.Scale
fixedTotalanyfixedTotal + w
undefinedCountanyundefinedCount + 1
totalTableWidthanytotalTableWidth + (colWidths[i] or 0)
cursoranytotalPaddingX + math.max(0, (effectiveWidth - totalTableWidth) * 0.5)
cursoranytotalPaddingX + math.max(0, effectiveWidth - totalTableWidth)
cursoranycursor + (colWidths[i] or 0)
startYanytotalPaddingY + math.max(0, (effectiveHeight - totalTableHeight) * 0.5)
startYanytotalPaddingY + math.max(0, effectiveHeight - totalTableHeight)
cellXanycolX + (colW - cellW) * 0.5
cellXanycolX + colW - cellW - padX
curYanycurY + rowH + padY

Functions


GetAbsoluteSize

Arguments

obj

Returns

This function returns nothing.

API

instance:GetAbsoluteSize(obj)

On this page