# User Scroll Bar Hide for Text Area

**URL:** <https://forum.inductiveautomation.com/t/user-scroll-bar-hide-for-text-area/26674>\
**Category:** Ignition\
**Created:** [July 18, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/user-scroll-bar-hide-for-text-area/26674 "2019-07-18T16:22:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbraun](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@tbraun](https://forum.inductiveautomation.com/u/tbraun)\
**Post date:** [July 18, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/user-scroll-bar-hide-for-text-area/26674/1 "2019-07-18T16:22:01Z")

</div>

I’m tying to have a label that wraps text. How can I do this?

If I use a text area, how can I hide the scroll bar?

If I write this in the script console, it briefly hides it but then it gets overridden:

txt = system.gui.getWindow(win).getRootContainer().getComponent(‘Text Area’)  
scroll = txt.getVerticalScrollBar()  
scroll.setSize(0,0)

What’s overriding this command? Is there a way to make the scroll bar disappear?

thanks

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [July 18, 2019, 5:25pm UTC](https://forum.inductiveautomation.com/t/user-scroll-bar-hide-for-text-area/26674/2 "2019-07-18T17:25:13Z")

</div>

set the row and column property to 0.

---

<div class="post-metadata">

**Author:** ![fukuras](https://avatars.discourse-cdn.com/v4/letter/f/b2d939/32.png) [@fukuras](https://forum.inductiveautomation.com/u/fukuras)\
**Post date:** [February 28, 2020, 2:50pm UTC](https://forum.inductiveautomation.com/t/user-scroll-bar-hide-for-text-area/26674/3 "2020-02-28T14:50:06Z")

</div>

You just need to check to line wrap property to true if you want the text to wrap. Removing the cursor is as stated above (set Rows to 0 or 1, column is not really needed since that get rids of the horizontal bar but that goes away with the line wrap property), but it won’t stop the scroll bar from appearing again if the text runs out of space.
