# Problems positioning UIScrollBar to right side of TextField

**URL:** <https://forum.kirupa.com/t/problems-positioning-uiscrollbar-to-right-side-of-textfield/291470>\
**Category:** flash\
**Created:** [June 30, 2009, 7:16am UTC](https://forum.kirupa.com/t/problems-positioning-uiscrollbar-to-right-side-of-textfield/291470 "2009-06-30T07:16:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohbeewan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ohbeewan/32/1745_2.png) [@ohbeewan](https://forum.kirupa.com/u/ohbeewan)\
**Post date:** [June 30, 2009, 7:16am UTC](https://forum.kirupa.com/t/problems-positioning-uiscrollbar-to-right-side-of-textfield/291470/1 "2009-06-30T07:16:59Z")

</div>

Hey all,

I’m trying to use a UIScrollBar on an Input TextField…when I position it to the right side of the textfield using:

```auto

sb.move(tf.x + tf.width, tf.y);

```

…the UIScrollBar seemingly adds about 80px of width or so beyond the right side of the textfield (you can’t visually see this, except in my case, I’m using the width of the textfiled to set the width of a background container, and with the UIScrollBar positioned on the right side of the textfield, I get this added width of about 80px, etc)…

Anyone have such a problemo?
