Theme: Notification event-time not aligned with message-title when font scaling factor is not 1.0
The notification message event-time
is not correctly aligned with the message-title
, when the font scaling factor is not 1.0, as seen in the screenshots below:
Font scaling factor 1.0:
Font scaling factor 1.2:
Font scaling factor 0.9:
Currently the labels are aligned using small top-padding for the title, and bottom-padding for the time. Since both paddings use em
values, changing the font scaling will push/pull them to opposite directions, thus breaking the alignment.
FWIW, I've noticed on custom theme, that aligning the labels only with bottom-padding to the event-time
(and no padding on title) still doesn't work across any font scaling. Therefore instead of tweaking the paddings some more, it may be more worthwhile to try to restructure the notification layout so, that hacky alignment tweaks weren't needed at all.