Don't hardcode the margin of the CardsListView
ClosedPublic

Authored by apol on Dec 14 2019, 8:56 AM.

Details

Summary

Use the left/rightMargin properties with a default value, in case it makes
sense to override it.

Test Plan

Used it on okular, works correctly

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Dec 14 2019, 8:56 AM
Restricted Application added a project: Kirigami. · View Herald TranscriptDec 14 2019, 8:56 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Dec 14 2019, 8:56 AM

Makes sense, but I don't understand how this helps, given the path is "private/" ?

apol added a comment.Dec 14 2019, 11:13 AM

The path is private but the class is directly inherited. 🤷

mart accepted this revision.Dec 14 2019, 11:55 AM
This revision is now accepted and ready to land.Dec 14 2019, 11:55 AM
This revision was automatically updated to reflect the committed changes.