3290ef4eb6
The problem is that " 9:59 AM" (notice the space at the beginning) and "12:59 AM" strings, when centred, look misaligned — strings padded with a space look off to the right by nearly half a character. This happens because the font feature "tnum", used to make numbers monospace, doesn't work on spaces. The commit overcomes this by aligning time labels to the end. However, this won't work for locales with AM/PM strings of different lengths, so they are aligned to the start instead to minimise offset. It's too complex to know whether the used locale has different AM/PM string lengths. Instead, every time the time changes, it determines whether all the time labels have the same amount of characters. Fixes #5438 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2294> |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |