<div class='type'>Function</div>


<a id='references'></a>


<h2 id="fillwidth">fillWidth</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalFoundationStyleApi
fun StyleScope.fillWidth()
```


Sets the width of the component to fill the parent's available width (equivalent to
`width(1.0f)`). The specified width includes any padding.

This property is *not* inherited