[applets/notifications] Try to not have the notification count numbers overflow…

Authored by filipf on Aug 1 2019, 4:17 PM.

Description

[applets/notifications] Try to not have the notification count numbers overflow the icon

Summary:
When the notification count is in double digits, the numbers can overflow the icons which is meant to contain them.

This patch checks if there is more than 1 digit and then slightly reduces the size of the numbers.

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22878