More changes.

This commit is contained in:
Black
2020-04-07 20:39:49 -07:00
parent 8ef46dfc66
commit ccece5112f
2 changed files with 10 additions and 10 deletions

View File

@@ -89,17 +89,17 @@ RowLayout {
wrapMode: Text.Wrap
}
TextEdit {
Text {
Layout.fillWidth: true
text: "<style>pre {white-space: pre-wrap} a{color: " + color + ";} .user-pill{}</style>" + (replyVisible ? reply.display : "")
color: Kirigami.Theme.textColor
selectionColor: Kirigami.Theme.highlightColor
selectedTextColor: Kirigami.Theme.highlightedTextColor
// selectionColor: Kirigami.Theme.highlightColor
// selectedTextColor: Kirigami.Theme.highlightedTextColor
selectByMouse: true
readOnly: true
// selectByMouse: true
// readOnly: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
textFormat: Text.RichText
}

View File

@@ -2,7 +2,7 @@ import QtQuick 2.12
import org.kde.kirigami 2.4 as Kirigami
TextEdit {
Text {
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + display
font {
@@ -11,11 +11,11 @@ TextEdit {
}
color: Kirigami.Theme.textColor
selectionColor: Kirigami.Theme.highlightColor
selectedTextColor: Kirigami.Theme.highlightedTextColor
// selectionColor: Kirigami.Theme.highlightColor
// selectedTextColor: Kirigami.Theme.highlightedTextColor
selectByMouse: true
readOnly: true
// selectByMouse: true
// readOnly: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
textFormat: Text.RichText
}