summaryrefslogtreecommitdiffstats
path: root/templates/TextArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/TextArea.qml')
-rw-r--r--templates/TextArea.qml24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/TextArea.qml b/templates/TextArea.qml
index 478dfdc..3538f08 100644
--- a/templates/TextArea.qml
+++ b/templates/TextArea.qml
@@ -12,21 +12,21 @@ T.TextArea {
+ 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
color: control.palette.text
selectionColor: control.palette.highlight
selectedTextColor: control.palette.highlightedText
- verticalAlignment: control.config.label.textVAlignment
- horizontalAlignment: control.config.label.textHAlignment
+ verticalAlignment: control.__config.label.textVAlignment
+ horizontalAlignment: control.__config.label.textHAlignment
placeholderTextColor: control.palette.placeholderText
readonly property string __currentState: [
@@ -34,7 +34,7 @@ T.TextArea {
activeFocus && "focused",
enabled && !activeFocus && hovered && "hovered",
].filter(Boolean).join("_") || "normal"
- readonly property var config: Config.controls.textarea[__currentState] || {}
+ readonly property var __config: Config.controls.textarea[__currentState] || {}
PlaceholderText {
id: placeholder
@@ -54,6 +54,6 @@ T.TextArea {
}
background: StyleImage {
- imageConfig: control.config.background
+ imageConfig: control.__config.background
}
}