ScrollRectItemsAdapter8TParams, TItemViewsHolderGetItemWidth Method |
Only called for horizontal ScrollRects
Namespace:
frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxprotected abstract float GetItemWidth(
int index
)
Parameters
- index
- Type: SystemInt32
the element's index in your dataset
Return Value
Type:
SingleThe width to be allocated for its visual representation in the view
Version InformationOptimized ScrollView Adapter
Supported in: 2.5.2
See Also