Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nah0y on May 29, 2014, 03:15:47 AM

Title: UITable Horizontal?
Post by: nah0y on May 29, 2014, 03:15:47 AM
Hello,


Is there a particular reason there is no horizontal direction mode for UITable?
Title: Re: UITable Horizontal?
Post by: ArenMook on May 29, 2014, 07:23:08 AM
It is horizontal. Horizontal until max # of columns are reached, then it starts a new line.
Title: Re: UITable Horizontal?
Post by: nah0y on May 29, 2014, 11:27:04 AM
Hum.... Yes but I mean unlimited number of column.
Right bow if I want it to be vertical, I just need to set column to 1, but if I only want horizontal, I should set it to 9999? (Or over 9000!)
Title: Re: UITable Horizontal?
Post by: Nicki on May 29, 2014, 11:32:53 AM
Can't you set it to 0 and then it'd be unlimited?
Title: Re: UITable Horizontal?
Post by: nah0y on May 29, 2014, 01:06:41 PM
Damn you're right!


It would be better in the inspector if we could have an enum with :
- Horizontal
- Vertical
- Custom (specifying the number of column)


No ?
Title: Re: UITable Horizontal?
Post by: Nicki on May 30, 2014, 05:56:49 AM
Sure that sounds reasonable. UITable and UIGrid should probably follow the same design in that regard.