class

ATableRow

A row whose cells sit at the SAME column offsets its bound header computes (U1) — put an ATableHeader above a list, hand each generated row this widget with the header pointer, and columns line up and track live drag-resizes with no per-panel layout math.

Module
Arc
Header
#include "Arc/Widgets/ATableHeader.h"
Namespace
Arcf

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetHeader
voidSetCells
int32_tGetNumChildren
TSharedPtr<AWidget>GetChildAt
ArcVec2ComputeDesiredSize
voidArrangeChildren
voidSetSeveritytable-row.json's severity: an Error row is ErrorTint under its cells.
ETableRowSeverityGetSeverity
ArcColorSeverityTextThe text token a cell of this severity draws in.
int32_tOnPaint
boolCanCacheDesiredSizeThe tallest cell, and the cell list only changes through SetCells.
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ATableRow) ARC_WIDGET_ARGS_END() void Construct(const CArguments&)

SetHeader

C++
void SetHeader(TSharedPtr<ATableHeader> header)

SetCells

C++
void SetCells(std::vector<TSharedPtr<AWidget>> cells)

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<AWidget> GetChildAt(int32_t index) const override

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

SetSeverity

C++
void SetSeverity(ETableRowSeverity severity)

table-row.json's severity: an Error row is ErrorTint under its cells. The hosting list paints hover, selection and focus.

GetSeverity

C++
ETableRowSeverity GetSeverity() const

SeverityText

C++
static ArcColor SeverityText(ETableRowSeverity severity)

The text token a cell of this severity draws in.

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

CanCacheDesiredSize

C++
bool CanCacheDesiredSize() const override

The tallest cell, and the cell list only changes through SetCells.

GetTypeName

C++
const char* GetTypeName() const override
Generated from Arc/Widgets/ATableHeader.h via arc.json · Nov 5, 2026Version 1.0.0