Make progressbas in preview widget big as the button
commit12c26d587eb565abd001d250ef27803e6c176ac6
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateMon 5 May 2014, 12:09 (12 years ago)
parentf21378dbbd2cf5
qml/Dash/Previews/PreviewProgress.qml+3−2
@@ -34,11 +34,12 @@ PreviewWidget {
3434 ProgressBar {
3535 id: progressBar
3636 objectName: "progressBar"
37+ anchors.right: parent.right
3738 value: 0
3839 maximumValue: 100
39− implicitHeight: units.gu(5)
40+ implicitHeight: units.gu(4)
4041 height: parent.height
41− width: parent.width
42+ width: (root.width - units.gu(1)) / 2
4243
4344 property var source: widgetData["source"]
4445 // TODO Eventually we will need to support more sources other