Fixes two conditions where the views can be aligned to fractional pixels, which causes poor rendering on non-retina screens.
This warrants additional testing before merging it in. We are using a simple 2-segment control and unfortunately I do not have the time for more complete test coverage. In that condition, the segments were always being aligned either vertically or horizontally to a fraction of a pixel.
Fixes two conditions where the views can be aligned to fractional pixels, which causes poor rendering on non-retina screens.
This warrants additional testing before merging it in. We are using a simple 2-segment control and unfortunately I do not have the time for more complete test coverage. In that condition, the segments were always being aligned either vertically or horizontally to a fraction of a pixel.