Height Units
Introduction
Absolute

Relative to Parent

Percentage of Parent

Ratio of Parent


Ratio of Parent set to 1

Height Units of Ratio of Parent

Height value of 3
Ratio of Parent Height of 0
Absolute ColoredRectangle with 80 Height
Height changes all sibling heights

Stack Spacing reduces the available ratio space for all childrenRelative to Children



Ignored Height Values
Child's Ignored By Parent Size is True (1)
Child Depends on Parent Height (2)

Child Explicitly Positioned Outside of Parent's Bounds (3)



Pixels From Bottom upward can make the parent grow to accommodate the child's Y value
Child Y Units is Percentage of Parent Height (4)

Y Units of Percentage of Parent Height results in the child ignoredRelative to Children and Auto Grid Vertical

Relative to Children height




Relative to Children and Text

Height Units is set to Relative To Children


Percentage of Width

Percentage of Other Dimension Height of 200Percentage of File Height


exture Height adjusts its absolute height when using Percentage of File HeightMaintain File Aspect Ratio Height

Width when using Maintain File Aspect Ratio Height also adjusts absolute height
Width or Texture Height affects the Sprite's absolute heightLast updated
Was this helpful?

