applets/digital-clock: fix tooltip overflow and center time zones

Original commit message(s)

  • applets/digital-clock: fix tooltip overflow and center time zones

Currently the tooltip forces a maximum width, which can cause the time zones grid to overflow. This change takes that grid into account when calculating that width. Also centers the time zones list, and enables wrapping for the remaining labels.

BUG: 524390 BUG: 501555

Test plan

Tested by adding a more time zones and switching to French locale or making the system font bigger

Screenshots or screen recordings

Before After
digital-clock-overflow-2026-08-17-211335 digital-clock-overflow-fixed-2026-08-17-211454

Bugs fixed

BUG: 524390 BUG: 501555

Edited by Luis Bocanegra

Merge request reports

Loading