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

Date and clock gets a bad vertical alignment when using bigger tray fonts #2208

Open
SebastJava opened this issue Oct 31, 2024 · 1 comment
Labels

Comments

@SebastJava
Copy link

Things to do first

  • done: Confirm that the problem persists when Dash-to-Panel is the only enabled extension.
  • done: Look for Dash-to-Panel errors in your log.
  • done: Search existing opened and closed issues to see if the problem has already been reported.

Describe the bug

  1. In Dash-to-Panel settings > Position > Order and Position on monitors: set to bottom
  2. In Dash-to-Panel settings > Fine-Tune > Font size: set a larger font size for both Tray and LeftBox.
  3. See? The date and time is not centered, on the vertical axis. Compare that with the text in the LeftBox (see screenshot)

Linux distribution and version
Ubuntu 24.04.1 LTS (Noble Numbat)

GNOME Shell version
GNOME Shell 46.0

Dash-to-Panel version
Version 64

Where was Dash-to-Panel installed from?
The GNOME extensions website (or from the Extension Manager?)

Screenshots / Video captures
Dash-to-Panel_clock

Additional Info
I cobbled together a temporary workaround by adding this in stylesheet.css:

.dashtopanelMainPanel.horizontal .panel-button.clock-display .clock {
  padding-top: -3.5px; margin-top: 0px;
}
@SebastJava SebastJava added the bug label Oct 31, 2024
@SebastJava
Copy link
Author

Good vertical alignment with my temporary workaround:
Dash-to-Panel_workaround

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

No branches or pull requests

1 participant