davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. davidedmundson requested review of this revision.
REVISION SUMMARY When we load and position the Image the height is constrained, the width is not. The image fillMode is set as PreserveAspectFit so the width will adjust to fit the aspect ratio, Therefore we only want to set a fixed height on the sourceSize, it will automatically match the resultant width. BUG: 413087 TEST PLAN I was unable to reproduce the state. Patch is based on reading the code and docs REPOSITORY R120 Plasma Workspace BRANCH master REVISION DETAIL https://phabricator.kde.org/D25252 AFFECTED FILES lookandfeel/contents/lockscreen/MediaControls.qml To: davidedmundson, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart