# Placing textfields from for loop

**URL:** <https://forum.kirupa.com/t/placing-textfields-from-for-loop/270242>\
**Category:** Uncategorized\
**Created:** [September 7, 2008, 2:13pm UTC](https://forum.kirupa.com/t/placing-textfields-from-for-loop/270242 "2008-09-07T14:13:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanda](https://avatars.discourse-cdn.com/v4/letter/w/e495f1/32.png) [@wanda](https://forum.kirupa.com/u/wanda)\
**Post date:** [September 7, 2008, 2:13pm UTC](https://forum.kirupa.com/t/placing-textfields-from-for-loop/270242/1 "2008-09-07T14:13:32Z")

</div>

Hello

I have a little problem. I am making a simple text menu and i am generating some textfields along the x axes and placing them like this.

```auto
_menu.x = i * 90;

```

The problem is that not all of the textfields has the same length and therefore they are not placed with the same spacing.

I want to make 90 pixels of space between each textfield, but how do i do that?
