diff options
Diffstat (limited to 'examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml')
-rw-r--r-- | examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml b/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml index 908d8f6d..d9e5f788 100644 --- a/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml +++ b/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml @@ -41,12 +41,12 @@ import QtQuick 2.6 import QtQuick.Controls 2.1 -Pane { - id: pane +ScrollablePage { + id: page Column { spacing: 40 - anchors.fill: parent + width: parent.width Label { width: parent.width @@ -57,7 +57,7 @@ Pane { } BusyIndicator { - readonly property int size: Math.min(pane.availableWidth, pane.availableHeight) / 5 + readonly property int size: Math.min(page.availableWidth, page.availableHeight) / 5 width: size height: size anchors.horizontalCenter: parent.horizontalCenter |