Current time indicator in the toolbar doesn't have a fixed width #78
Labels
No labels
2230
2243
App version
Apple OS errata
Apple SDK
bug
bugsnag
build
dlt
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: chris/Cog#78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current time indicator in the toolbar should have a fixed width and/or use a monospace font, so as to prevent the other controls from moving around when the time changes.
You are correct, but this is a long standing issue. I should probably also modify the formatter for the playing time so it pads to the right based on the current track duration, if known.
Nice catch.
Unfortunately, switching to using a monospace font didn't entirely fix this: the issue still occurs when the time changes from 9:59 to 10:00, for example.
This issue is a little more complex than I thought. As I said, it needs a fix so that it formats the current time to a minimum width of however many digits it takes to display the current track's duration. @nevack if you want to handle this before I boot back into macOS tonight? I can take a look at it later, though.
This should be different now, and time field should only change across different tracks with wildly varying lengths.