-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance: Rework layout of progress pie and recording dot #975
Conversation
d3747af
to
1db01c6
Compare
Let me now rebase this one. |
should I wait with merging #974? |
No, you can move ahead. |
This also removes another magic number.
Introduce a define for the time label height. Place the progress pie in the middle of the residual vertical free space below the time label.
1db01c6
to
9695709
Compare
Ok, there is still something (slightly but visibly) off with the vertical center of the recording icon. But this PR does not change the layout, this is already present in the code on master. Let's move ahead with reviewing. |
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.
Ok, there is still something (slightly but visibly) off with the vertical center of the recording icon
do you want to fix it in this PR or let's merge?
I will have it in 1 hour. |
This avoids code duplication when creating and adding subviews for the progress pie and the related timer icon.
9695709
to
0904a5b
Compare
Added (and squashed) a small fix which places the center of the recording icon correctly above the progress pie. |
Description
This PR removes further magic numbers, slightly changes the layout itself and reduces code duplication by introducing a helper method as suggested in earlier reviews. It needs to be updated once #974 is merged.
Summary for release notes
Maintenance: Rework layout of progress pie and recording dot