struct

CGridTrackSize

Sizing rule for one grid track (a row or a column). Auto tracks size to the largest cell placed in them, Fixed tracks take an explicit pixel size, Star tracks share the space left after Auto/Fixed proportionally to Value.

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

Properties

TypeNameDescription
ETypeTypeDefault EType::Star.
floatValueDefault 1.0f.

Public functions

ReturnsNameDescription
CGridTrackSizeAuto
CGridTrackSizeFixed
CGridTrackSizeStar

Function details

Auto

C++
static CGridTrackSize Auto()

Fixed

C++
static CGridTrackSize Fixed(float pixels)

Star

C++
static CGridTrackSize Star(float weight = 1.0f)
Generated from Arc/Widgets/AGridPanel.h via arc.json · Nov 5, 2026Version 1.0.0