Skip to content
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

Allow header clock to display dates #4671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lawrenceakka
Copy link

@lawrenceakka lawrenceakka commented Jun 24, 2024

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

Presently, the header clock can only display the time (not unreasonably for a clock). But sometimes a date is useful as well. Default width is changed to allow for longer strings when dates are displayed

Closes #4666

@@ -52,7 +52,7 @@ class HeaderClockSpace(Widget):
DEFAULT_CSS = """
HeaderClockSpace {
dock: right;
width: 10;
width: auto;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this cause the title to change position, with a long date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Travel back in time to 1900
2 participants