home-sweet-gnome / dash-to-panel

An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.
GNU General Public License v2.0
3.82k stars 280 forks source link

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

Open SebastJava opened 3 weeks ago

SebastJava commented 3 weeks ago

Things to do first

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 commented 3 weeks ago

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