More changes.
This commit is contained in:
@@ -89,17 +89,17 @@ RowLayout {
|
|||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
}
|
}
|
||||||
|
|
||||||
TextEdit {
|
Text {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
text: "<style>pre {white-space: pre-wrap} a{color: " + color + ";} .user-pill{}</style>" + (replyVisible ? reply.display : "")
|
text: "<style>pre {white-space: pre-wrap} a{color: " + color + ";} .user-pill{}</style>" + (replyVisible ? reply.display : "")
|
||||||
|
|
||||||
color: Kirigami.Theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
selectionColor: Kirigami.Theme.highlightColor
|
// selectionColor: Kirigami.Theme.highlightColor
|
||||||
selectedTextColor: Kirigami.Theme.highlightedTextColor
|
// selectedTextColor: Kirigami.Theme.highlightedTextColor
|
||||||
|
|
||||||
selectByMouse: true
|
// selectByMouse: true
|
||||||
readOnly: true
|
// readOnly: true
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import QtQuick 2.12
|
|||||||
|
|
||||||
import org.kde.kirigami 2.4 as Kirigami
|
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
|
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + display
|
||||||
|
|
||||||
font {
|
font {
|
||||||
@@ -11,11 +11,11 @@ TextEdit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
color: Kirigami.Theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
selectionColor: Kirigami.Theme.highlightColor
|
// selectionColor: Kirigami.Theme.highlightColor
|
||||||
selectedTextColor: Kirigami.Theme.highlightedTextColor
|
// selectedTextColor: Kirigami.Theme.highlightedTextColor
|
||||||
|
|
||||||
selectByMouse: true
|
// selectByMouse: true
|
||||||
readOnly: true
|
// readOnly: true
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user