Author Topic: UITable: Cell Pivot  (Read 4421 times)

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
UITable: Cell Pivot
« on: September 03, 2012, 09:14:07 PM »
How about a Cell Pivot property on UITable that would position the widgets within each table cell?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITable: Cell Pivot
« Reply #1 on: September 04, 2012, 12:49:28 AM »
Cell pivot?

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: UITable: Cell Pivot
« Reply #2 on: September 04, 2012, 03:24:13 PM »
In a row with widgets of varying size, the smaller widgets will be vertically centered within their cell.  As well, in a column with widgets of varying widths the smaller widgets will be centered horizontally.

I'd like a CellPivot property that takes the Pivot options to control the placement of the widget within the cell. 

I can post a screenshot later when I'm at home.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITable: Cell Pivot
« Reply #3 on: September 04, 2012, 04:18:34 PM »
Ah, I see.

I suggest creating a prefab for a single row of your table instead of doing it that way. That's what I do everywhere in Windward -- score screen, chat log, news...