# Add multi-line text to button text property

**URL:** <https://forum.inductiveautomation.com/t/add-multi-line-text-to-button-text-property/79333>\
**Category:** Ignition\
**Tags:** vision, perspective\
**Created:** [September 19, 2023, 11:46am UTC](https://forum.inductiveautomation.com/t/add-multi-line-text-to-button-text-property/79333 "2023-09-19T11:46:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe.miller](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joe.miller](https://forum.inductiveautomation.com/u/joe.miller)\
**Post date:** [September 19, 2023, 11:46am UTC](https://forum.inductiveautomation.com/t/add-multi-line-text-to-button-text-property/79333/1 "2023-09-19T11:46:17Z")

</div>

I want to force muliple lines of text on buttons, through the text prop.

I tried the old html method that worked in vision. the button will give me multiple lines, but it also shows all the html commands between the \<\> brackets.

how do I do this?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 19, 2023, 12:37pm UTC](https://forum.inductiveautomation.com/t/add-multi-line-text-to-button-text-property/79333/2 "2023-09-19T12:37:43Z")

</div>

> [@Multiline button in perspective](https://forum.inductiveautomation.com/t/multiline-button-in-perspective/65632/2):
>
> It's a bit so-so, but make your property window narrow enough for the text prop of the button to show the ellipsis (...) and then you can add line breaks in there. You'll then also need to add the style.whiteSpace: pre style as well

---

<div class="post-metadata">

**Author:** ![joe.miller](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@joe.miller](https://forum.inductiveautomation.com/u/joe.miller)\
**Post date:** [September 19, 2023, 12:40pm UTC](https://forum.inductiveautomation.com/t/add-multi-line-text-to-button-text-property/79333/3 "2023-09-19T12:40:07Z")

</div>

thanks.
