diff options
Diffstat (limited to 'resources/qml/MatrixText.qml')
-rw-r--r-- | resources/qml/MatrixText.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml index 9a4f7348..cbb1c888 100644 --- a/resources/qml/MatrixText.qml +++ b/resources/qml/MatrixText.qml @@ -1,12 +1,15 @@ import QtQuick 2.5 import QtQuick.Controls 2.3 -TextEdit { +TextArea { textFormat: TextEdit.RichText readOnly: true wrapMode: Text.Wrap selectByMouse: true - color: colors.text + //color: colors.text + palette: colors + + padding: 0 onLinkActivated: { if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) chat.model.openUserProfile(/^https:\/\/matrix.to\/#\/(@.*)$/.exec(link)[1]) |