TKTabView's layouts can position its tabs on the four edges of the view's bounds: top, left, right and bottom. To set the tabs position simply set the
tabsPosition
property:
self.tabView.tabsPosition = TKTabViewPositionTop;
Furthermore if the tabWidth
property is set, and the total width of the available tabs is less than the available screen area, developers can set tabAlignment
. The alignment
can be left, right, top, bottom, center and stretch. For example:
self.tabView.tabStrip.layout.tabAlignment = TKTabAlignmentCenter;