From 393d404242aae0a2eebae534497e30348571729a Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 6 Sep 2019 18:21:46 -0400 Subject: [PATCH] Fix name alignment for own messages on left --- TODO.md | 1 - src/qml/Chat/Timeline/EventContent.qml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 762f93fb..814415f1 100644 --- a/TODO.md +++ b/TODO.md @@ -23,7 +23,6 @@ - Do something when access token is invalid - Don't store states in delegates - - Message position after daybreak delegate (fixed by commit 57b1313 ?) - [hr not working](https://bugreports.qt.io/browse/QTBUG-74342) - Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb` - Verify big avatars aren't downloaded uselessly diff --git a/src/qml/Chat/Timeline/EventContent.qml b/src/qml/Chat/Timeline/EventContent.qml index cdbde2f2..d3efe5df 100644 --- a/src/qml/Chat/Timeline/EventContent.qml +++ b/src/qml/Chat/Timeline/EventContent.qml @@ -90,7 +90,8 @@ Row { text: Utils.coloredNameHtml(model.sender_name, model.sender_id) textFormat: Text.RichText // elide: Text.ElideRight - horizontalAlignment: onRight ? Text.AlignRight : Text.AlignLeft + // horizontalAlignment: onRight ? Text.AlignRight : Text.AlignLeft + horizontalAlignment: Text.AlignLeft function selectAllTextPlus() { contentLabel.selectAllTextPlus()