rs / SDSegmentedControl

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

Scrolling with bigger items is wrong #14

Closed nickbit closed 11 years ago

nickbit commented 11 years ago

After having 5 items in the Example project named 'Big Segment x' I found out the the scrolling is not correct. Even with fewer items that result to a width bigger than the view bounds, the scrolling is not enabled, although it should have been. I had a look at the code and it seems that the items' frames are correctly set. Could not locate the error though, most probably it is a wrong setting of the scrolling offset.

Could you please take a look at the issue?

rs commented 11 years ago

I can't reproduce the issue. Do you have a step by step or example project?

nickbit commented 11 years ago

Thank you for the quick response. Wrong alert! Trying to reproduce the problem, I realized that the segment control was moved and resized.

Sorry for the inconvience. Please remove the issue if possible.