From ce251cf8c12b64450873d1f01d955062dbe3ffbf Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 5 Apr 2018 10:01:12 +0200 Subject: Use the TextArea which properly clips the content if it is too wide --- components/mailviewer/qml/TextContent.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/mailviewer/qml/TextContent.qml b/components/mailviewer/qml/TextContent.qml index 95e196b4..114aa1fb 100644 --- a/components/mailviewer/qml/TextContent.qml +++ b/components/mailviewer/qml/TextContent.qml @@ -17,6 +17,7 @@ */ import QtQuick 2.7 +import QtQuick.Controls 2 import org.kube.framework 1.0 as Kube @@ -35,7 +36,7 @@ Item { textEdit.text = root.content } - TextEdit { + TextArea { id: textEdit anchors { -- cgit v1.2.3