Further tweak text element

master
Nicolas Werner 4 years ago
parent 7f3d97517f
commit dbaddb0165
  1. 4
      resources/qml/MatrixText.qml

@ -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
} }

Loading…
Cancel
Save