dave-thompson/MESegmentedControl — pull request #2 by aeberbach (2013-02-12 00:23:35+00:00)
Title: Better badge positioning so labels are not overlapped

![Screen Shot 2013-02-12 at 11 22 53 AM](https://f.cloud.github.com/assets/1031681/147289/61e8761e-74aa-11e2-8df9-d55ba2f4c6bc.png)
Added a segment resizing pass at badge initialisation. Segment widths should not be changed, but it does [self setWidth:calculatedWidth forSegmentAtIndex:index] so that when placing badges [self widthForSegmentAtIndex:i] gives a correct figure and badge position can be set so as to avoid overlapping text.