Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Der_Kevin on September 07, 2014, 07:57:53 AM

Title: ScrollPanel only Snaps to the right position after first drag
Post by: Der_Kevin on September 07, 2014, 07:57:53 AM
Hey,

I have a weird Bug with NGUI. I wanted to create a Horizontal Scroll Panel where you can select some Buildings/Items/Objects.
I let the panel fade in from the bottom but somehow the first item is the middle.. or almost in the middle and not on the left side as it should. when i drag the scroll panel just a little bit to the left or to the right, it snaps to the right position (to the left side of the screen). Everything else from this Panel is on the right position (Tabs and close button for example)

I don't really know which value is responsable for that so i dont know which values i should post here. maybe some of you knows whats wrong or had this before.
feel free to ask me if you want to know which settings i used on a specific point

Cheers,
Kevin
Title: Re: ScrollPanel only Snaps to the right position after first drag
Post by: ArenMook on September 07, 2014, 08:50:08 AM
How do you fade in the panel? How and when do you populate its content? Post some code too, that may help.