# How can I break a lengthy text property value so that the text does not overflow

**URL:** <https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194>\
**Category:** User Experience\
**Tags:** healthcare-and-life-sciences, 8-7-5, user-experience, senior-system-architect\
**Created:** [October 13, 2023, 11:43am UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194 "2023-10-13T11:43:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SakhibHussain](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sakhibhussain/32/23433_2.png) [@SakhibHussain](https://forums.pega.com/u/SakhibHussain)\
**Post date:** [October 13, 2023, 11:43am UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/1 "2023-10-13T11:43:17Z")

</div>

Hi All,

I have a requirement where in it is required to break a text property so that overflow of the text is avoided. For example, a property called pxCreateOpName having lengthy text value and is being overflowed beyond a dynamic layout. How can I customize this so that it is adjusted inside a dynamic layout.

Thanks in advance,

Sakhib Hussain

---

<div class="post-metadata">

**Author:** ![Bhumireddy](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bhumireddy/32/23248_2.png) [@Bhumireddy](https://forums.pega.com/u/Bhumireddy)\
**Post date:** [October 13, 2023, 3:06pm UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/2 "2023-10-13T15:06:09Z")

</div>

Hi @SakhibHussain,

Can you try by using the **pxTextAbridge** UI control under general tab of the property or you can directly apply on the Section, It will display only the required characters; if you keep mouse-hovering on the property, it will display the full letter.

**Thanks,**

**Ashok**

---

<div class="post-metadata">

**Author:** ![Anoop\_Krishna](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/anoop_krishna/32/23458_2.png) [@Anoop\_Krishna](https://forums.pega.com/u/Anoop_Krishna)\
**Post date:** [October 14, 2023, 2:59am UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/3 "2023-10-14T02:59:41Z")

</div>

@SakhibHussain please try enabling wrap text option. Along with that you can also try using text area control as length of the text can be that long.

---

<div class="post-metadata">

**Author:** ![AkshithReddyT](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/akshithreddyt/32/23910_2.png) [@AkshithReddyT](https://forums.pega.com/u/AkshithReddyT)\
**Post date:** [October 14, 2023, 5:04pm UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/4 "2023-10-14T17:04:53Z")

</div>

@SakhibHussain Try to use flex-wrap in Adv Presentation Options

---

<div class="post-metadata">

**Author:** ![SakhibHussain](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sakhibhussain/32/23433_2.png) [@SakhibHussain](https://forums.pega.com/u/SakhibHussain)\
**Post date:** [October 16, 2023, 6:58am UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/5 "2023-10-16T06:58:49Z")

</div>

Thanks @AkshithReddyT , I was able to solve this. But there is an issue with label here. If I give empty label, it is going back to same overflow text and if I enter some value to the label, it is behaving properly. So not able to give an empty label here.

---

<div class="post-metadata">

**Author:** ![AkshithReddyT](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/akshithreddyt/32/23910_2.png) [@AkshithReddyT](https://forums.pega.com/u/AkshithReddyT)\
**Post date:** [October 16, 2023, 9:37am UTC](https://forums.pega.com/t/how-can-i-break-a-lengthy-text-property-value-so-that-the-text-does-not-overflow/5194/6 "2023-10-16T09:37:24Z")

</div>

@SakhibHussain Ok, have u tried creating the **Field Value** rule and giving blank value over there for Label.
