I'm trying to create some UI elements for my game. A scroll box is going to be important for navigating an arbitrary long list of objects. So I have the scrollbox built and sitting outside of the layout and all of the objects (except the scrollbar) is pinned to one item and I move that item. So when I click the button I have an event that moves the main window and the scrollbar (in that order) into the window but for some reason the scrollbar isn't put into the correct position. If I click the button a second time, then the scrollbar gets moved.
Can someone explain to me what's going on and how to make it behave as expected?
Secondary questions: Why are there lines on my 9-patch windows and orange scrollbar? If I change the mode to exact these lines become even more prominent. The larger gray bar is not translucent and does not seem to have that line.
Why does the button play the press animation on loadout start? Initial animation is set to "None" and the only animation in the animation list is "Press".