on xenial help sign in
Use same dimensions and placement of button
bbd2cf5Andrea Cimitan
qml/Dash/Previews/PreviewProgress.qml+3−2
@@ -34,11 +34,12 @@ PreviewWidget {
34 ProgressBar {
34 ProgressBar {
35 id: progressBar
35 id: progressBar
36 objectName: "progressBar"
36 objectName: "progressBar"
37+ anchors.right: parent.right
37 value: 0
38 value: 0
38 maximumValue: 100
39 maximumValue: 100
39− implicitHeight: units.gu(5)
40+ implicitHeight: units.gu(4)
40 height: parent.height
41 height: parent.height
41− width: parent.width
42+ width: (root.width - units.gu(1)) / 2
42
43
43 property var source: widgetData["source"]
44 property var source: widgetData["source"]
44 // TODO Eventually we will need to support more sources other
45 // TODO Eventually we will need to support more sources other