D9776: Fix Plastik bottom and right border

David Edmundson noreply at phabricator.kde.org
Wed Jan 10 02:27:21 UTC 2018


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: KWin.
Restricted Application added subscribers: KWin, kwin, plasma-devel.
davidedmundson requested review of this revision.
Restricted Application edited projects, added Plasma; removed KWin.

REVISION SUMMARY
  x and y are always relative to the parent, adding parent.width to
  calculate the position doesn't make sense.
  
  Original author meant just "x: parent.width-1"
  But we may as well just use anchors. Programatically it comes out the
  same.

TEST PLAN
  No more weird vertical lines in the KCM when view is slightly less than 2 previews wide.
  Modded colour to hardcoded "red" for easier visualisation, checked it looked ok when set as a real deco.

REPOSITORY
  R108 KWin

BRANCH
  master

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

AFFECTED FILES
  plugins/kdecorations/aurorae/themes/plastik/package/contents/ui/main.qml

To: davidedmundson, #plasma
Cc: plasma-devel, kwin, #kwin, 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/20180110/dc2f5e2b/attachment.html>


More information about the Plasma-devel mailing list