Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Razacx

Pages: [1]
1
NGUI 3 Support / Re: UITable.Reposition() problem
« on: May 29, 2014, 01:43:18 PM »
Nevermind it :p I found a solution already.
It seems like the reposition method takes in account the sizes of all object within the table.
What I did is give every element in the table a child, which is a transparent sprite with a fixed size.
This way, the padding between the objects remains.

2
NGUI 3 Support / UITable.Reposition() problem
« on: May 29, 2014, 12:30:31 PM »
Hello,

I recently encountered a problem with UITable.Reposition()
My script removes children from the table and then uses this method,
however, when it's used, the horizontal size of the UITable object is changed. I do not want this to happen because it also affects the spacing between the remaining elements. Is there any way to solve this issue?
Any answers are very much appreciated.

Thanks in advance.

Pages: [1]