broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY Ensures it doesn't overflow its bounding box. Shouldn't make a visual differences (save for the margin) as it is `PreserveAspectFit` BUG: 408101 FIXED-IN: 5.16.0 TEST PLAN Put media controller on desktop, started youtube video (which provides a 16:9 thumbnail through p-b-i), resized the plasmoid to weird sizes, didn't overflow anymore. Still looked the same in systray popup REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D21557 AFFECTED FILES applets/mediacontroller/contents/ui/ExpandedRepresentation.qml To: broulik, #plasma Cc: plasma-devel, ericadams, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart