summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-27 16:48:23 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-27 16:48:23 +0100
commit11bffd5d90bc678cb94d05b14c1fde6545e2b85b (patch)
tree2ce111e51fe861e3391ce2aa16d01bf7362460bd /resources
parentImprove link theming (diff)
downloadnheko-11bffd5d90bc678cb94d05b14c1fde6545e2b85b.tar.xz
Revert change from TextEdit to TextArea
It made some messages unreadabe. We loose proper highlight colors, but
we will have to do for now, until I can figure out, why the TextArea
doesn't work.
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixText.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml
index cbb1c888..9a4f7348 100644
--- a/resources/qml/MatrixText.qml
+++ b/resources/qml/MatrixText.qml
@@ -1,15 +1,12 @@
 import QtQuick 2.5
 import QtQuick.Controls 2.3
 
-TextArea {
+TextEdit {
 	textFormat: TextEdit.RichText
 	readOnly: true
 	wrapMode: Text.Wrap
 	selectByMouse: true
-	//color: colors.text
-	palette: colors
-
-	padding: 0
+	color: colors.text
 
 	onLinkActivated: {
 		if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) chat.model.openUserProfile(/^https:\/\/matrix.to\/#\/(@.*)$/.exec(link)[1])