Current time indicator in the toolbar doesn't have a fixed width #78

Closed
opened 2021-01-24 01:09:23 -03:00 by sirburpalot · 5 comments
sirburpalot commented 2021-01-24 01:09:23 -03:00 (Migrated from github.com)

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.

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.
kode54 commented 2021-01-24 02:20:32 -03:00 (Migrated from github.com)

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.

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.
nevack commented 2021-01-24 16:24:01 -03:00 (Migrated from github.com)

Nice catch.

Nice catch.
sirburpalot commented 2021-01-25 22:49:36 -03:00 (Migrated from github.com)

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.

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.
kode54 commented 2021-01-25 23:12:26 -03:00 (Migrated from github.com)

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 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.
kode54 commented 2022-06-10 01:56:09 -04:00 (Migrated from github.com)

This should be different now, and time field should only change across different tracks with wildly varying lengths.

This should be different now, and time field should only change across different tracks with wildly varying lengths.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#78
No description provided.