D17975: [Notifications] Add padding to notifications

Root noreply at phabricator.kde.org
Wed Jan 9 00:10:24 GMT 2019


rooty added a comment.


  @davidedmundson I've tried using
  
    implicitHeight: Math.max(appIconItem.valid || imageItem.nativeWidth > 0 ? units.iconSizes.large : 0, (mainLayout.height + ((bodyText.lineCount > 1) ? 0.5 : ((bodyText.lineCount == 0) ? 0 : 2) * units.smallSpacing))) // Add units.smallSpacing to correct for the topMargin of mainLayout according to number of lines
  
  (I know, it looks ugly...) but it doesn't seem to do anything

REPOSITORY
  R120 Plasma Workspace

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

To: rooty, #vdg, #plasma, ngraham
Cc: Codezela, abetts, filipf, davidedmundson, hein, ndavis, plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190109/d444d25f/attachment.html>


More information about the Plasma-devel mailing list