docs
Loading...
Searching...
No Matches
ULContainerDesc

#include <AppCore/CAPI/CAPI_Layout.h>

Overview

Options for creating a container (a row or column of child nodes).

See also
ulContainerAddRow(), ulContainerAddColumn()

Public Attributes

uint32_t struct_size
 Must be sizeof(ULContainerDesc).
const char * key
 Optional identity for lookup and diagnostics (see ULPanelDesc.key).
ULLayoutSize size
 The container's size along its parent's axis. Unset means one flex share (1fr).
ULLayoutSize min_size
 Minimum size constraint (see ULPanelDesc.min_size).
ULLayoutSize max_size
 Maximum size constraint (see ULPanelDesc.max_size).
uint32_t flags
 A ULLayoutFlags combination: Fixed, Resizable, Hidden.
ULLayoutSize gap
 The gap between adjacent children (logical px only, other units are ignored with a warning).
ULLayoutSize padding
 Padding between the container's edges and its children, applied on all four sides (logical px only).

Member Data Documentation

◆ flags

uint32_t flags

A ULLayoutFlags combination: Fixed, Resizable, Hidden.

◆ gap

The gap between adjacent children (logical px only, other units are ignored with a warning).

Unset means no gap.

◆ key

const char* key

Optional identity for lookup and diagnostics (see ULPanelDesc.key).

◆ max_size

ULLayoutSize max_size

Maximum size constraint (see ULPanelDesc.max_size).

◆ min_size

ULLayoutSize min_size

Minimum size constraint (see ULPanelDesc.min_size).

◆ padding

ULLayoutSize padding

Padding between the container's edges and its children, applied on all four sides (logical px only).

Unset means no padding.

◆ size

The container's size along its parent's axis. Unset means one flex share (1fr).

◆ struct_size

uint32_t struct_size

Must be sizeof(ULContainerDesc).


The documentation for this struct was generated from the following file: