Further tweak text element

This commit is contained in:
Nicolas Werner 2020-08-06 19:19:13 +02:00
parent 7f3d97517f
commit dbaddb0165

View file

@ -5,7 +5,8 @@ TextEdit {
textFormat: TextEdit.RichText textFormat: TextEdit.RichText
readOnly: true readOnly: true
wrapMode: Text.Wrap wrapMode: Text.Wrap
selectByMouse: ma.containsMouse // try to make scrollable by finger but selectable by mouse selectByMouse: true
activeFocusOnPress: false
color: colors.text color: colors.text
onLinkActivated: { onLinkActivated: {
@ -23,7 +24,6 @@ TextEdit {
id: ma id: ma
anchors.fill: parent anchors.fill: parent
propagateComposedEvents: true propagateComposedEvents: true
hoverEnabled: true
acceptedButtons: Qt.NoButton acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
} }