---
title: "fillHeight"
description: "Sets the height of the component to fill the parent's available height (equivalent to
`height(1.0f)`). The specified height includes any padding.

This property is *not* inherited"
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


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


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

This property is *not* inherited



