Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GridTrackSizeUnit

Unit for a single GridTrackSize sizing value.
Read time 1 minuteLast updated 6 days ago

Definition

public enum GridTrackSizeUnit

Fields

Value

Description

AutoThe track is sized automatically from its content.
FractionA flexible fraction (
fr
) of the leftover space.
MaxContentThe largest maximal content contribution of the track's items (
max-content
).
MinContentThe largest minimal content contribution of the track's items (
min-content
).
PercentA percentage of the grid container's corresponding dimension.
PixelA fixed pixel length.