<h2 id="fillmaxwidth">fillMaxWidth</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun GlanceModifier.fillMaxWidth(): GlanceModifier
```

Specifies that the width of the element should expand to the size of its parent. Note that if
multiple elements within a linear container (e.g. Row or Column) have their width as
[fillMaxWidth](/jetpack-compose/androidx.glance/glance/functions/fillMaxWidth), then they will all share the remaining space.