Unexplanable Y/Height Issues

Hey Folks - I am desperate at this point… I have code that makes an object for search results and stacks within a scroll pane. The code works correctly when the user searches for a state, but when the user searches for what we call a partner the sub sections (called a metro below) y alignment go way out of whack, while the states still stack correctly.

Here’s the code… I know it’s out of context, but please help me if you can… I’m totally lost:

**SOLUTION: ** I figured out that when accessing a Vector, my counter wasn’t incrementing because it wasn’t looping in that specific instance. The solution was to access the element like this:

someVector[someVector.length-1].y = 40

instead of like this:

someVector[counter].y = 40

Thanks everyone!