---
title: "wrapContentWidth"
description: "Specifies that the width of the element should wrap its contents."
type: "function"
---

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


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


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


Specifies that the width of the element should wrap its contents.



