diff options
Diffstat (limited to 'templates/Frame.qml')
-rw-r--r-- | templates/Frame.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/Frame.qml b/templates/Frame.qml index 83ed836..a3c0736 100644 --- a/templates/Frame.qml +++ b/templates/Frame.qml @@ -12,20 +12,20 @@ T.Frame { + topInset + bottomInset, contentHeight + topPadding + bottomPadding) - 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: !control.enabled ? "disabled" : "normal"; - readonly property var config: Config.controls.frame[__currentState] || {} + readonly property var __config: Config.controls.frame[__currentState] || {} background: StyleImage { - imageConfig: control.config.background + imageConfig: control.__config.background } } |