Quest UI offsets with every new entry

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Quest UI offsets with every new entry

Post 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,
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest UI offsets with every new entry

Post 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.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest UI offsets with every new entry

Post 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?
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Quest UI offsets with every new entry

Post by bluebuttongames »

Unfortunately that's already set to 0,0.......
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest UI offsets with every new entry

Post by Tony Li »

Would it be possible for you to send a reproduction project to tony (at) pixelcrushers.com?
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Quest UI offsets with every new entry

Post by bluebuttongames »

Sent :)
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest UI offsets with every new entry

Post by Tony Li »

Thanks. I'll download it today and reply with an answer.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest UI offsets with every new entry

Post 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.
Post Reply