# Shorten/Increase text box based on length of text

**URL:** <https://forum.bubble.io/t/shorten-increase-text-box-based-on-length-of-text/29944>\
**Category:** Questions\
**Created:** [May 22, 2018, 11:02pm UTC](https://forum.bubble.io/t/shorten-increase-text-box-based-on-length-of-text/29944 "2018-05-22T23:02:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nocodify](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nocodify/32/104659_2.png) [@Nocodify](https://forum.bubble.io/u/Nocodify)\
**Post date:** [May 22, 2018, 11:02pm UTC](https://forum.bubble.io/t/shorten-increase-text-box-based-on-length-of-text/29944/1 "2018-05-22T23:02:41Z")

</div>

Hi there,

Is there a way to increase or decrease the width of a text box based on how long the text is… Kind of like how in the iOS messaging text background?
