Constants that determine how a component should automatically calculate its own dimensions when no explicit dimensions are provided.

Available since

1.0.0

.

Variables

@:value(cast "content")@:enum@:implinlineread onlyCONTENT:AutoSizeMode = "content"

The component will automatically calculate its dimensions to fit its content's ideal dimensions.

Available since

1.0.0

.

@:value(cast "stage")@:enum@:implinlineread onlySTAGE:AutoSizeMode = "stage"

The component will automatically calculate its dimensions to fill the entire stage.

Available since

1.0.0

.