From 138d8546f65733ce62f181c2a05c692151695753 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 10 Sep 2021 22:56:02 +0000 Subject: Place "Show full message" between the message and its status --- qml/Message.qml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'qml') diff --git a/qml/Message.qml b/qml/Message.qml index 15d4b09..f5ed398 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -200,6 +200,17 @@ RowLayout { text = messageObject.message.text } } + + Button { + text: "Show full message" + visible: messageObject.message.hasHtml + onPressed: { + htmlSheet.subject = messageObject.message.subject + htmlSheet.html = messageObject.context.getMessageHtml(messageObject.message.id) + htmlSheet.open() + } + } + RowLayout { Layout.alignment: Qt.AlignRight @@ -209,15 +220,6 @@ RowLayout { html: "" } - Button { - text: "Show full message" - visible: messageObject.message.hasHtml - onPressed: { - htmlSheet.subject = messageObject.message.subject - htmlSheet.html = messageObject.context.getMessageHtml(messageObject.message.id) - htmlSheet.open() - } - } Kirigami.Icon { source: "computer" -- cgit v1.2.3-70-g09d2