Author Topic: UITable Horizontal?  (Read 2921 times)

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
UITable Horizontal?
« on: May 29, 2014, 03:15:47 AM »
Hello,


Is there a particular reason there is no horizontal direction mode for UITable?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITable Horizontal?
« Reply #1 on: May 29, 2014, 07:23:08 AM »
It is horizontal. Horizontal until max # of columns are reached, then it starts a new line.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: UITable Horizontal?
« Reply #2 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!)

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UITable Horizontal?
« Reply #3 on: May 29, 2014, 11:32:53 AM »
Can't you set it to 0 and then it'd be unlimited?

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: UITable Horizontal?
« Reply #4 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 ?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UITable Horizontal?
« Reply #5 on: May 30, 2014, 05:56:49 AM »
Sure that sounds reasonable. UITable and UIGrid should probably follow the same design in that regard.