aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/pages/ProgressBarPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/gallery/pages/ProgressBarPage.qml')
-rw-r--r--examples/quickcontrols2/gallery/pages/ProgressBarPage.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quickcontrols2/gallery/pages/ProgressBarPage.qml b/examples/quickcontrols2/gallery/pages/ProgressBarPage.qml
index 85024c07..1548192f 100644
--- a/examples/quickcontrols2/gallery/pages/ProgressBarPage.qml
+++ b/examples/quickcontrols2/gallery/pages/ProgressBarPage.qml
@@ -41,14 +41,14 @@
import QtQuick 2.6
import QtQuick.Controls 2.1
-Pane {
- id: pane
+ScrollablePage {
+ id: page
- readonly property int itemWidth: Math.max(bar.implicitWidth, pane.availableWidth / 3)
+ readonly property int itemWidth: Math.max(bar.implicitWidth, page.availableWidth / 3)
Column {
spacing: 40
- anchors.fill: parent
+ width: parent.width
Label {
width: parent.width