diff options
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r-- | src/controls/TextArea.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 356b31ab..9c68701c 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -755,7 +755,7 @@ ScrollView { selectionColor: __style ? __style.selectionColor : "darkred" selectedTextColor: __style ? __style.selectedTextColor : "white" wrapMode: TextEdit.WordWrap - textMargin: 4 + textMargin: __style && __style.textMargin !== undefined ? __style.textMargin : 4 selectByMouse: area.selectByMouse && (!cursorHandle.delegate || !selectionHandle.delegate) readOnly: false |