Preview Centered wallpaper as PreserveAspectFit
ClosedPublic

Authored by davidedmundson on Feb 28 2017, 2:07 PM.

Details

Summary

Currently the we create previews with QPixmapItem from KDeclrarative and
when a wallpaper is set to centered sets it to an enum value that
doesn't exist.

PreserveAspectFit displays the wallpaper in the correct proportions as
when it will be applied, but will still be big enough to make it
actually previewable.

BUG: 375675

Diff Detail

Repository
R120 Plasma Workspace
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.Feb 28 2017, 2:07 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 28 2017, 2:07 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Feb 28 2017, 3:45 PM
This revision is now accepted and ready to land.Feb 28 2017, 3:45 PM
This revision was automatically updated to reflect the committed changes.