summaryrefslogtreecommitdiffstats
path: root/templates/ToolBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ToolBar.qml')
-rw-r--r--templates/ToolBar.qml22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/ToolBar.qml b/templates/ToolBar.qml
index 793413e..17104a5 100644
--- a/templates/ToolBar.qml
+++ b/templates/ToolBar.qml
@@ -10,24 +10,24 @@ T.ToolBar {
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
contentHeight + topPadding + bottomPadding)
- spacing: config.spacing || 0
+ spacing: __config.spacing || 0
- topPadding: config.topPadding || 0
- bottomPadding: config.bottomPadding || 0
- leftPadding: config.leftPadding || 0
- rightPadding: config.rightPadding || 0
+ topPadding: __config.topPadding || 0
+ bottomPadding: __config.bottomPadding || 0
+ leftPadding: __config.leftPadding || 0
+ rightPadding: __config.rightPadding || 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
readonly property string __currentState: position === ToolBar.Header
? (enabled ? "normal" : "disabled")
: (enabled ? "normal_footer" : "disabled_footer")
- readonly property var config: Config.controls.toolbar[__currentState] || {}
+ readonly property var __config: Config.controls.toolbar[__currentState] || {}
background: StyleImage {
- imageConfig: control.config.background
+ imageConfig: control.__config.background
}
}