Fix Plastik bottom and right border
ClosedPublic

Authored by davidedmundson on Jan 10 2018, 2:27 AM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Jan 10 2018, 2:27 AM
Restricted Application added a project: KWin. · View Herald TranscriptJan 10 2018, 2:27 AM
Restricted Application added subscribers: KWin, kwin, plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jan 10 2018, 2:27 AM
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptJan 10 2018, 2:27 AM
graesslin accepted this revision.Jan 10 2018, 5:18 AM
This revision is now accepted and ready to land.Jan 10 2018, 5:18 AM
Restricted Application edited projects, added KWin; removed Plasma. · View Herald TranscriptJan 10 2018, 5:18 AM
This revision was automatically updated to reflect the committed changes.
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptJan 10 2018, 12:13 PM