Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Zyxil on September 03, 2012, 09:14:07 PM

Title: UITable: Cell Pivot
Post by: Zyxil 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?
Title: Re: UITable: Cell Pivot
Post by: ArenMook on September 04, 2012, 12:49:28 AM
Cell pivot?
Title: Re: UITable: Cell Pivot
Post by: Zyxil 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.
Title: Re: UITable: Cell Pivot
Post by: ArenMook 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...