diff options
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r-- | src/controls/TextArea.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 4b22dded..8cf02857 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -710,7 +710,12 @@ ScrollView { onWrapModeChanged: edit.doLayout() renderType: __style ? __style.renderType : Text.NativeRendering - font: __style ? __style.font : font + Binding { + target: edit + property: 'font' + value: __style.font + when: __style + } color: __style ? __style.textColor : "darkgray" selectionColor: __style ? __style.selectionColor : "darkred" selectedTextColor: __style ? __style.selectedTextColor : "white" |