-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ios] Fix layout of Scale bar components #15703
Conversation
A couple of integration tests are failing... |
9d35945
to
d7eaf25
Compare
Rebased to kick CI bots. |
Good point, I’ll do that!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing this. Could you please add an screenshot of what do you mean with:
EDIT: The PR as it stands also rounds the corners of the scale bar - let me know what you think.
…ed (to ensure the view dimensions are correct when re-laying out the scale bar.
…so reduces the # of calculations (since updateConstraints and layoutSubviews can be called outside of our control).
bcc9eb1
to
adab45d
Compare
@fabian-guerra addressed your feedback, ready for another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I like how the scale bar looks.
Merging so we can test in the next alpha/beta. We may want to revert the rounded corners if performance is affected badly. |
Fixes #15356 and layout when the device is rotated.
EDIT: The PR as it stands also rounds the corners of the scale bar - let me know what you think
Before:
After: