rs / SDSegmentedControl

A drop-in remplacement for UISegmentedControl that mimic iOS 6 AppStore tab controls
MIT License
1.2k stars 180 forks source link

Last segment is out of view #71

Open mightyG opened 9 years ago

mightyG commented 9 years ago

Hello, My segment control is made of 14 segments and I want the last one to be the first selected segment. I did so by using [segmentControl setSelectedSegmentIndex:13]; My problem is that when the view is loaded a part of the last segment is out of the borders of the view and I want it to be completely visible from the start. Can I have some help?