class

APropertyRow

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

Properties

TypeNameDescription
static constexpr int32_tkInvalidDropFlashMsDefault 400.
ArcDelegate<void()>OnScrubBegin
ArcDelegate<void(float)>OnScrubDelta
ArcDelegate<void()>OnScrubEnd
ArcDelegate<void()>OnResetToDefaultThe reset arrow was clicked.

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGSunder it across the row.
voidConstruct
voidSetLabel
const std::string&GetLabel
voidSetValue
TSharedPtr<AWidget>GetValue
voidSetLabelWidgetA widget in the label column instead of the painted label: an editable map key, say.
TSharedPtr<AWidget>GetLabelWidget
voidSetLabelToolTipThe tooltip the label column shows (the value keeps its own).
voidSetLabelColorA token the label is drawn in instead of the state's, while the row has no error: a prefab override reads InfoText.
voidSetIndentNesting depth in pixels: the dot and label move right, the value column stays where the rows above it put theirs.
floatGetIndent
voidSetLabelSpansValueA boolean's segments take only their own width at the end of the value column, and the label runs on up to them instead of stopping at the label column's edge.
voidSetTrailingControls after the reset column: an array element's grip, duplicate and remove.
voidSetStacked
boolIsStacked
voidSetScrubbableThe label scrubs the value (property-row-number): a press that travels more than 2 px begins, every move reports the pixels travelled so far — Shift counts ten times, Ctrl a tenth — and the release ends it.
boolIsScrubbable
boolIsScrubbing
voidSetSelectedProviderSelection read at paint: a list's keyboard row, which the row's owner knows and the row does not.
voidSetModifiedThe value differs from its default: dot, bright label, reset arrow.
boolIsModified
voidSetHasError
boolHasError
voidSetSelected
boolIsSelected
voidFlashInvalidDropA drop the row refuses: the border goes Error for a moment.
boolIsFlashingInvalidDrop
voidSetLabelWidthThe label column; 0 keeps the spec's.
voidSetDotBeforeLabel
floatGetLabelWidth
floatGetRowHeight
ArcRectGetResetRect
ArcRectGetValueRect
ArcRectGetLabelRect
ArcRectGetTrailingRect
TSharedPtr<AWidget>MakeEnumValueThe value control an enum property gets: a segmented control for up to three options, a dropdown past that.
TSharedPtr<AWidget>MakeBoolValueThe value control every boolean property gets (owner, 2026-10-06): the Mobility-style segmented control, "Enabled / Disabled" unless the property names its own labels, at the END of the value column so a long label is never squeezed by it.
ArcVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseMove
CReplyOnMouseButtonUp
voidOnMouseCaptureLost
voidOnMouseEnter
voidOnMouseLeave
boolCanRetainPaint
int32_tGetNumChildren
TSharedPtr<AWidget>GetChildAt
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(APropertyRow) ARC_ARG(std::string, Label) ARC_ARG(bool, IsAsset) ARC_ARG(float, HeightOverride) ARC_ARG(float, LabelWidth) ARC_ARG(bool, DotBeforeLabel) ARC_ARG(bool, Stacked) ARC_CONTENT(APropertyRow, Value) ARC_WIDGET_ARGS_END() static constexpr int32_t kSegmentedEnumLimit = 3

under it across the row.

Construct

C++
void Construct(const CArguments& args)

SetLabel

C++
void SetLabel(const std::string& label)

GetLabel

C++
const std::string& GetLabel() const

SetValue

C++
void SetValue(TSharedPtr<AWidget> value)

GetValue

C++
TSharedPtr<AWidget> GetValue() const

SetLabelWidget

C++
void SetLabelWidget(TSharedPtr<AWidget> widget)

A widget in the label column instead of the painted label: an editable map key, say. It is arranged across the column's width.

GetLabelWidget

C++
TSharedPtr<AWidget> GetLabelWidget() const

SetLabelToolTip

C++
void SetLabelToolTip(const std::string& text)

The tooltip the label column shows (the value keeps its own).

SetLabelColor

C++
void SetLabelColor(const ArcColor* token)

A token the label is drawn in instead of the state's, while the row has no error: a prefab override reads InfoText. Null clears it.

SetIndent

C++
void SetIndent(float indent)

Nesting depth in pixels: the dot and label move right, the value column stays where the rows above it put theirs.

GetIndent

C++
float GetIndent() const

SetLabelSpansValue

C++
void SetLabelSpansValue(bool spans)

A boolean's segments take only their own width at the end of the value column, and the label runs on up to them instead of stopping at the label column's edge.

SetTrailing

C++
void SetTrailing(TSharedPtr<AWidget> widget)

Controls after the reset column: an array element's grip, duplicate and remove.

SetStacked

C++
void SetStacked(bool stacked)

IsStacked

C++
bool IsStacked() const

SetScrubbable

C++
void SetScrubbable(bool scrubbable)

The label scrubs the value (property-row-number): a press that travels more than 2 px begins, every move reports the pixels travelled so far — Shift counts ten times, Ctrl a tenth — and the release ends it.

IsScrubbable

C++
bool IsScrubbable() const

IsScrubbing

C++
bool IsScrubbing() const

SetSelectedProvider

C++
void SetSelectedProvider(std::function<bool()> provider)

Selection read at paint: a list's keyboard row, which the row's owner knows and the row does not.

SetModified

C++
void SetModified(bool modified)

The value differs from its default: dot, bright label, reset arrow.

IsModified

C++
bool IsModified() const

SetHasError

C++
void SetHasError(bool hasError)

HasError

C++
bool HasError() const

SetSelected

C++
void SetSelected(bool selected)

IsSelected

C++
bool IsSelected() const

FlashInvalidDrop

C++
void FlashInvalidDrop()

A drop the row refuses: the border goes Error for a moment. Held on a clock rather than the motion system, so reduced motion still shows it.

IsFlashingInvalidDrop

C++
bool IsFlashingInvalidDrop() const

SetLabelWidth

C++
void SetLabelWidth(float width)

The label column; 0 keeps the spec's. A narrow mode panel sets 100.

SetDotBeforeLabel

C++
void SetDotBeforeLabel(bool dotBeforeLabel)

GetLabelWidth

C++
float GetLabelWidth() const

GetRowHeight

C++
float GetRowHeight() const

GetResetRect

C++
ArcRect GetResetRect(const ArcRect& rowRect) const

GetValueRect

C++
ArcRect GetValueRect(const ArcRect& rowRect) const

GetLabelRect

C++
ArcRect GetLabelRect(const ArcRect& rowRect) const

GetTrailingRect

C++
ArcRect GetTrailingRect(const ArcRect& rowRect) const

MakeEnumValue

C++
static TSharedPtr<AWidget> MakeEnumValue(const std::vector<std::string>& options, int32_t selected, std::function<void(int32_t)> onChanged)

The value control an enum property gets: a segmented control for up to three options, a dropdown past that.

MakeBoolValue

C++
static TSharedPtr<AWidget> MakeBoolValue(std::function<bool()> get, std::function<void(bool)> set, std::function<bool()> mixed = nullptr, const std::string& trueLabel = std::string(), const std::string& falseLabel = std::string())

The value control every boolean property gets (owner, 2026-10-06): the Mobility-style segmented control, "Enabled / Disabled" unless the property names its own labels, at the END of the value column so a long label is never squeezed by it. mixed true (co-selected values disagree) selects neither segment. Arrows and Space change it.

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

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

OnPaint

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

OnMouseButtonDown

C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) override

OnMouseMove

C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonUp

C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) override

OnMouseCaptureLost

C++
void OnMouseCaptureLost() override

OnMouseEnter

C++
void OnMouseEnter(const CGeometry& geo, const CPointerEvent& event) override

OnMouseLeave

C++
void OnMouseLeave(const CPointerEvent& event) override

CanRetainPaint

C++
bool CanRetainPaint() const override

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

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

GetTypeName

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