---
title: "fillMaxHeight"
description: "Specifies that the height 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 height as
expandHeight, then they will all share the remaining space."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


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


Specifies that the height 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 height as
expandHeight, then they will all share the remaining space.



