04-07-2022
04:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-07-2022
04:01 AM
I don't have any code handy, but I've run into this issue before. After you perform the first break, the width of the view decreases, therefore the points that you want to pass into your second break are now incorrect.
The solution is to offset the points for your second break by the change in the view width.
For example:
Original view width = 50
View width after first break = 45
Change = 50 - 45 = 5
Therefore you need to subtract 5 from each of your second break points.
The solution is to offset the points for your second break by the change in the view width.
For example:
Original view width = 50
View width after first break = 45
Change = 50 - 45 = 5
Therefore you need to subtract 5 from each of your second break points.