aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/PageIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/PageIndicator.qml')
-rw-r--r--src/imports/controls/PageIndicator.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/PageIndicator.qml b/src/imports/controls/PageIndicator.qml
index 77958d19..7a9a870e 100644
--- a/src/imports/controls/PageIndicator.qml
+++ b/src/imports/controls/PageIndicator.qml
@@ -42,9 +42,9 @@ import QtQuick.Templates 2.5 as T
T.PageIndicator {
id: control
- implicitWidth: Math.max(background ? background.implicitWidth : 0,
+ implicitWidth: Math.max(implicitBackgroundWidth,
contentItem.implicitWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(background ? background.implicitHeight : 0,
+ implicitHeight: Math.max(implicitBackgroundHeight,
contentItem.implicitHeight + topPadding + bottomPadding)
padding: 6