Merge lp:~kissiel/checkbox/fix-1450056 into lp:checkbox

Proposed by Maciej Kisielewski
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 3744
Merged at revision: 3744
Proposed branch: lp:~kissiel/checkbox/fix-1450056
Merge into: lp:checkbox
Diff against target: 19 lines (+2/-0)
1 file modified
providers/2015.com.canonical.certification:qml-tests/data/camera-06.qml (+2/-0)
To merge this branch: bzr merge lp:~kissiel/checkbox/fix-1450056
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Review via email: mp+257855@code.launchpad.net

Description of the change

This MR fixes camera qml-native test by making VideOutput components use PreserveAspectCrop fillMode that covers all painted area without stretching the content.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'providers/2015.com.canonical.certification:qml-tests/data/camera-06.qml'
2--- providers/2015.com.canonical.certification:qml-tests/data/camera-06.qml 2015-03-13 14:21:45 +0000
3+++ providers/2015.com.canonical.certification:qml-tests/data/camera-06.qml 2015-04-30 08:01:08 +0000
4@@ -94,6 +94,7 @@
5 source: cam
6 anchors.fill: parent
7 orientation: (Screen.primaryOrientation === Qt.PortraitOrientation) ? 270 : 0;
8+ fillMode: Image.PreserveAspectCrop
9 }
10
11 Timer {
12@@ -160,6 +161,7 @@
13 anchors.fill: parent
14 source: mediaplayer
15 orientation: (Screen.primaryOrientation === Qt.PortraitOrientation) ? 270 : 0;
16+ fillMode: Image.PreserveAspectCrop
17 }
18 }
19 Page {

Subscribers

People subscribed via source and target branches