Skip to content
Snippets Groups Projects
Commit 11bffd5d authored by Nicolas Werner's avatar Nicolas Werner
Browse files

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.
parent b1eff0a3
No related branches found
No related tags found
No related merge requests found
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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment