Hi Tony,
I've got a Quest_TrackerContainer set-up with NGUI and every time a new quest is added they all move down. I can't for the life of me figure out what's going wrong.
Here's a gif of the problem:
https://media.giphy.com/media/2vkUy8qcN ... /giphy.gif
Have you ever seen this before? Or know what might be causing it?
Thanks,
Quest UI offsets with every new entry
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Quest UI offsets with every new entry
Hi,
I'll check this out and reply back here today. It looks like it's adding double the spacing for each quest. Maybe something changed in the way NGUI lays out UI elements. I'll plan to test with the newest version of NGUI.
I'll check this out and reply back here today. It looks like it's adding double the spacing for each quest. Maybe something changed in the way NGUI lays out UI elements. I'll plan to test with the newest version of NGUI.
Re: Quest UI offsets with every new entry
Hi,
I'm almost 100% certain that it's the Padding value on the Container's UITable component. Can you try setting this to 0 x 0?
I'm almost 100% certain that it's the Padding value on the Container's UITable component. Can you try setting this to 0 x 0?
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Quest UI offsets with every new entry
Unfortunately that's already set to 0,0.......
Re: Quest UI offsets with every new entry
Would it be possible for you to send a reproduction project to tony (at) pixelcrushers.com?
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Quest UI offsets with every new entry
Thanks. I'll download it today and reply with an answer.
Re: Quest UI offsets with every new entry
It turns out that in some setups the quest tracker's UITable needs to be explicitly told to reposition contents after adding new elements. I sent you an updated NGUI Support package that does this. I'll include this package in the upcoming Dialogue System 1.7.7.3.