Spaceman-Labs/SMPageControl — pull request #16 by idpaterson (2013-10-16 15:52:31+00:00)
Title: Redraw on bounds change to avoid stretching the indicators

If the bounds of the `SMPageControl` change, the indicators are currently not redrawn which leads to stretched graphics.

Given the following page control in portrait orientation that fills the width of the screen
![smpagecontrol_portrait](https://f.cloud.github.com/assets/507058/1343990/b1ca20c8-367a-11e3-9e3d-94bf0d73c985.png)

rotating to landscape orientation where the control still fills the width of the screen stretches the dots.
![smpagecontrol_landscape](https://f.cloud.github.com/assets/507058/1344000/db5e64e4-367a-11e3-9a3f-157f80b8727c.png)

After the change in this pull request, the dots are properly redrawn automatically whenever the bounds of the `SMPageControl` change.
![smpagecontrol_landscape2](https://f.cloud.github.com/assets/507058/1344005/e3374a96-367a-11e3-9a88-188ace156d79.png)