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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user