Do clamping in the model and add missing lower bound check
ClosedPublic

Authored by hein on Feb 22 2018, 8:56 AM.

Details

Summary

Clamping the window delegate size to stay within the desktop
rect was previously done in the QML code, but only for the
higher bound. This moves clamping into the C++ model and adds
a lower bound.

BUG:390888

Diff Detail

Repository
R119 Plasma Desktop
Branch
Plasma/5.12
Lint
No Linters Available
Unit
No Unit Test Coverage
hein created this revision.Feb 22 2018, 8:56 AM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 22 2018, 8:56 AM
hein requested review of this revision.Feb 22 2018, 8:56 AM
broulik accepted this revision.Feb 22 2018, 9:00 AM
This revision is now accepted and ready to land.Feb 22 2018, 9:00 AM
This revision was automatically updated to reflect the committed changes.