summaryrefslogtreecommitdiffstats
path: root/components/mailviewer
diff options
context:
space:
mode:
Diffstat (limited to 'components/mailviewer')
-rw-r--r--components/mailviewer/qml/HtmlContent.qml2
-rw-r--r--components/mailviewer/qml/TextContent.qml2
2 files changed, 1 insertions, 3 deletions
diff --git a/components/mailviewer/qml/HtmlContent.qml b/components/mailviewer/qml/HtmlContent.qml
index 3ac1bb38..f0249a01 100644
--- a/components/mailviewer/qml/HtmlContent.qml
+++ b/components/mailviewer/qml/HtmlContent.qml
@@ -28,8 +28,6 @@ Item {
28 //We have to give it a minimum size so the html content starts to expand 28 //We have to give it a minimum size so the html content starts to expand
29 property int contentHeight: 10; 29 property int contentHeight: 10;
30 30
31 height: contentHeight
32 width: partColumn.width
33 31
34 WebEngineView { 32 WebEngineView {
35 id: htmlView 33 id: htmlView
diff --git a/components/mailviewer/qml/TextContent.qml b/components/mailviewer/qml/TextContent.qml
index 5d8dbc90..316786ef 100644
--- a/components/mailviewer/qml/TextContent.qml
+++ b/components/mailviewer/qml/TextContent.qml
@@ -27,7 +27,7 @@ Item {
27 property bool embedded: true 27 property bool embedded: true
28 property string type 28 property string type
29 29
30 height: textEdit.height 30 property int contentHeight: textEdit.height
31 31
32 TextEdit { 32 TextEdit {
33 id: textEdit 33 id: textEdit