on xenial help sign in
Small tweak to have images edge to edge
922548dAndrea Cimitan
qml/Dash/Previews/PreviewVideoPlayback.qml+1
@@ -35,6 +35,7 @@ PreviewWidget {
35 anchors {
35 anchors {
36 left: parent.left
36 left: parent.left
37 right: parent.right
37 right: parent.right
38+ margins: -units.gu(2) // to counterbalance the margins of each Preview and have them touch the edges
38 }
39 }
39 scaleTo: "width"
40 scaleTo: "width"
40 source: {
41 source: {
qml/Dash/Previews/PreviewZoomableImage.qml+1
@@ -39,6 +39,7 @@ PreviewWidget {
39 anchors {
39 anchors {
40 left: parent.left
40 left: parent.left
41 right: parent.right
41 right: parent.right
42+ margins: -units.gu(2) // to counterbalance the margins of each Preview and have them touch the edges
42 }
43 }
43 scaleTo: "width"
44 scaleTo: "width"
44 source: widgetData["source"]
45 source: widgetData["source"]