diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-03 20:26:20 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-03 20:26:20 +0100 |
commit | 04b47d68829dcdbb5bbde615b0e344a74be86598 (patch) | |
tree | 1401e5f34b7ec97e62a85a55806d4b95e4fedcdd /resources/qml/delegates/TextMessage.qml | |
parent | split point is pointless (diff) | |
download | nheko-04b47d68829dcdbb5bbde615b0e344a74be86598.tar.xz |
prepare code for message bubbles and dynamic message layout
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r-- | resources/qml/delegates/TextMessage.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index eea8cd1e..c9b8a882 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -33,8 +33,8 @@ MatrixText { blockquote { margin-left: 1em; } </style> " + formatted.replace("<pre>", "<pre style='white-space: pre-wrap; background-color: " + Nheko.colors.alternateBase + "'>").replace("<del>", "<s>").replace("</del>", "</s>").replace("<strike>", "<s>").replace("</strike>", "</s>") - width: parent.width - height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : undefined +// width: parent.width + //height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : undefined clip: isReply selectByMouse: !Settings.mobileMode && !isReply font.pointSize: (Settings.enlargeEmojiOnlyMessages && isOnlyEmoji > 0 && isOnlyEmoji < 4) ? Settings.fontSize * 3 : Settings.fontSize |