Clean look of Timeline

Align everything to the left, add colors to user names, remove some
hardcoded value in favor of Kirigami.Theme and Kirigami.Units.
This commit is contained in:
Carl Schwan
2020-11-07 16:24:13 +01:00
parent 2b7cc3715d
commit a77a133415
4 changed files with 39 additions and 36 deletions

View File

@@ -5,16 +5,8 @@ import org.kde.kirigami 2.4 as Kirigami
Text {
text: "<style>pre {white-space: pre-wrap} a{color: " + Kirigami.Theme.linkColor + ";} .user-pill{}</style>" + display
font {
family: Kirigami.Theme.defaultFont.family
}
font.family: Kirigami.Theme.defaultFont.family + ", emoji"
color: Kirigami.Theme.textColor
// selectionColor: Kirigami.Theme.highlightColor
// selectedTextColor: Kirigami.Theme.highlightedTextColor
// selectByMouse: true
// readOnly: true
wrapMode: Text.WordWrap
width: parent.width
textFormat: Text.RichText