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

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Aug 1 19:20:10 BST 2019


broulik added inline comments.

INLINE COMMENTS

> CompactRepresentation.qml:97
>              anchors.centerIn: parent
> -            width: Math.round(Math.min(parent.width, parent.height) * 0.75)
> +            width: text.length > 1 ? Math.round(Math.min(parent.width, parent.height) * 0.67) : Math.round(Math.min(parent.width, parent.height) * 0.75)
>              height: width

Can you rearrange that a bit

  width: Math.round(Math.min(parent.width, parent.height) * (text.length > 1 ? 0.67 : 0.75))`

REPOSITORY
  R120 Plasma Workspace

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

To: filipf, broulik, #plasma, #vdg
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/cd79d3e0/attachment.html>


More information about the Plasma-devel mailing list