Hello,
Sorry if this was posted before, but I have been searching everywhere and trying a whole bunch of things and I still can't get this to work.
Basically, I have a scroll view and a grid and am adding elements dynamically to the grid at runtime. I got them to sort correctly, but now I can't get the grid to be
centered in the scroll view (or the elements to be centered in the scroll view).
I have tried the center on child/center on click method, which doesn't work...
Funny thing is that when I am running the game, if I change the scroll view's content origin from, say, center to top, the grid repositions perfectly! So I know there must be some way to do what I want, I am just missing it.
PLEASE HELP!! I really really need to get this fixed as soon as possible. Thank you so much for your time and assistance.