From 7f29716a61c7ee751b39270858ce98ea1f4fa17a Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 12 Sep 2019 20:13:47 -0400 Subject: [PATCH] Fix message times being on a separate line --- TODO.md | 1 - src/qml/Chat/Timeline/EventContent.qml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index d4ec2d0f..43046755 100644 --- a/TODO.md +++ b/TODO.md @@ -13,7 +13,6 @@ - When qml syntax highlighting supports ES6 string interpolation, use that - Fixes - - Time on their own lines - When selecting text and scrolling up, selection stops working after a while - Ensure all the text that should be copied is copied - Mouse wheel scrolling speed in event list diff --git a/src/qml/Chat/Timeline/EventContent.qml b/src/qml/Chat/Timeline/EventContent.qml index 823a7e5e..ae93adeb 100644 --- a/src/qml/Chat/Timeline/EventContent.qml +++ b/src/qml/Chat/Timeline/EventContent.qml @@ -112,7 +112,9 @@ Row { text: theme.chat.message.styleInclude + eventContent.eventText + // time - " " + + // for some reason, if there's only one space, + // times will be on their own lines most of the time. + " " + "