Page 1 of 1
Quest UI offsets with every new entry
Posted: Thu Mar 08, 2018 1:00 pm
by bluebuttongames
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,
Re: Quest UI offsets with every new entry
Posted: Thu Mar 08, 2018 1:25 pm
by Tony Li
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.
Re: Quest UI offsets with every new entry
Posted: Thu Mar 08, 2018 6:11 pm
by Tony Li
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?
Re: Quest UI offsets with every new entry
Posted: Fri Mar 09, 2018 6:40 pm
by bluebuttongames
Unfortunately that's already set to 0,0.......
Re: Quest UI offsets with every new entry
Posted: Fri Mar 09, 2018 7:26 pm
by Tony Li
Would it be possible for you to send a reproduction project to tony (at) pixelcrushers.com?
Re: Quest UI offsets with every new entry
Posted: Thu Mar 15, 2018 3:24 am
by bluebuttongames
Sent
Re: Quest UI offsets with every new entry
Posted: Thu Mar 15, 2018 9:47 am
by Tony Li
Thanks. I'll download it today and reply with an answer.
Re: Quest UI offsets with every new entry
Posted: Thu Mar 15, 2018 8:35 pm
by Tony Li
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.