on xenial help sign in
Small tweak to have images edge to edge
commit922548d14ced1f993db9da209ffc740a87749eba authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 1 Oct 2015, 12:14 (11 years ago) parent7db4ef3
2 files changed+2
qml/Dash/Previews/PreviewVideoPlayback.qml+1 qml/Dash/Previews/PreviewZoomableImage.qml+1
qml/Dash/Previews/PreviewVideoPlayback.qml+1
@@ -35,6 +35,7 @@ PreviewWidget {
3535 anchors {
3636 left: parent.left
3737 right: parent.right
38+ margins: -units.gu(2) // to counterbalance the margins of each Preview and have them touch the edges
3839 }
3940 scaleTo: "width"
4041 source: {
qml/Dash/Previews/PreviewZoomableImage.qml+1
@@ -39,6 +39,7 @@ PreviewWidget {
3939 anchors {
4040 left: parent.left
4141 right: parent.right
42+ margins: -units.gu(2) // to counterbalance the margins of each Preview and have them touch the edges
4243 }
4344 scaleTo: "width"
4445 source: widgetData["source"]