Utility classes for changing an element's width, max width, and min width properties.

Unity's UI Toolkit uses border box as it's box model. For a visual representation, check out Unity's page on Common USS Properties.

Classes for width are named using the format: [property]-[value].

Where property includes:

  • w - for width
  • wmax - for max-width
  • wmin - for min-width

Where value includes:

  • # - % value for that width/max-width/min-width property.
ClassContents
0
1

UXML

0
0
1
2
3

UXML

0
0
1

UXML