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

Filip Fila noreply at phabricator.kde.org
Thu Aug 1 17:17:24 BST 2019


filipf created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
filipf requested review of this revision.

REVISION 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.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  notification-count-no-overflow (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D22878

AFFECTED FILES
  applets/notifications/package/contents/ui/CompactRepresentation.qml

To: filipf
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190801/15d4d72a/attachment.html>


More information about the Plasma-devel mailing list