Sets the width of this Size component.
Depending on the aspect mode, changing the width may also update the height and aspect ratio.
name | type | description |
---|---|---|
width | number |
The new width of the Size component. |
This Size component instance.