D10487: Fix tray icon size scaling when changing the panel size (fix bug 360333)

Piotr Kosinski noreply at phabricator.kde.org
Wed Feb 14 18:29:56 UTC 2018


pgkos added a comment.


  It seems the problem is not with SVG icons, but with the systemtray code. If I make the systemtray's Flow's marginHints zero, the padding is preserved correctly! No magic constant is needed anymore:
  
    //Do spacing with margins, to correctly compute the number of lines
    property QtObject marginHints: QtObject {
        property int left: Math.round(0)
        property int top: Math.round(0)
        property int right: Math.round(0)
        property int bottom: Math.round(0)
    }
  
  But I have no idea what this code was supposed to be doing.

REPOSITORY
  R120 Plasma Workspace

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

To: pgkos, #plasma_workspaces, davidedmundson
Cc: anthonyfieroni, ngraham, davidedmundson, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180214/6e81c86c/attachment.html>


More information about the Plasma-devel mailing list