diff options
Diffstat (limited to 'templates/impl')
-rw-r--r-- | templates/impl/ComboBoxPopup.qml | 22 | ||||
-rw-r--r-- | templates/impl/PageIndicatorDelegate.qml | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/templates/impl/ComboBoxPopup.qml b/templates/impl/ComboBoxPopup.qml index aadf525..0128c32 100644 --- a/templates/impl/ComboBoxPopup.qml +++ b/templates/impl/ComboBoxPopup.qml @@ -9,15 +9,15 @@ T.Popup { implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, contentHeight + topPadding + bottomPadding) - topPadding: config.topPadding || 0 - leftPadding: config.leftPadding || 0 - rightPadding: config.rightPadding || 0 - bottomPadding: config.bottomPadding || 0 + topPadding: __config.topPadding || 0 + leftPadding: __config.leftPadding || 0 + rightPadding: __config.rightPadding || 0 + bottomPadding: __config.bottomPadding || 0 - topInset: -config.topInset || 0 - bottomInset: -config.bottomInset || 0 - leftInset: -config.leftInset || 0 - rightInset: -config.rightInset || 0 + topInset: -__config.topInset || 0 + bottomInset: -__config.bottomInset || 0 + leftInset: -__config.leftInset || 0 + rightInset: -__config.rightInset || 0 required property T.ComboBox __combobox @@ -27,12 +27,12 @@ T.Popup { popup.visible && "open", __combobox.pressed && "pressed" ].filter(Boolean).join("_") || "normal" - readonly property var config: Config.controls.comboboxpopup[__currentState] || {} + readonly property var __config: Config.controls.comboboxpopup[__currentState] || {} contentItem: ListView { clip: true implicitHeight: contentHeight - spacing: config.contentItem.spacing + spacing: control.__config.contentItem.spacing highlightMoveDuration: 0 model: __combobox.delegateModel @@ -42,6 +42,6 @@ T.Popup { } background: StyleImage { - imageConfig: config.background + imageConfig: control.__config.background } } diff --git a/templates/impl/PageIndicatorDelegate.qml b/templates/impl/PageIndicatorDelegate.qml index 5085387..b36fe0f 100644 --- a/templates/impl/PageIndicatorDelegate.qml +++ b/templates/impl/PageIndicatorDelegate.qml @@ -13,7 +13,7 @@ StyleImage { pageIndicator.enabled && index === pageIndicator.currentIndex && "current", pageIndicator.enabled && pageIndicator.interactive && pressed && "pressed" ].filter(Boolean).join("_") || (pageIndicator.hovered ? "hovered" : "normal") - readonly property var config: Config.controls.pageindicatordelegate[__currentState].indicator || {} + readonly property var __config: Config.controls.pageindicatordelegate[__currentState].indicator || {} - imageConfig: config + imageConfig: __config } |