From 37983d97ec0eb03845f11eb03f429174acfd327b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 6 Jun 2017 00:27:24 +0200 Subject: A simplistic security border Still a bit obnoxious and doesn't really convey a whole lot of information. Consider it a stub for now --- components/mailviewer/contents/ui/TextContent.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'components/mailviewer/contents/ui/TextContent.qml') diff --git a/components/mailviewer/contents/ui/TextContent.qml b/components/mailviewer/contents/ui/TextContent.qml index 90442b8f..f8ef7f9a 100644 --- a/components/mailviewer/contents/ui/TextContent.qml +++ b/components/mailviewer/contents/ui/TextContent.qml @@ -21,14 +21,13 @@ import QtQuick 2.7 import org.kube.framework 1.0 as Kube Item { - id: textItem + id: root property string content property bool debug: true property bool embedded: true property string type - width: partColumn.width height: textColumn.height Column { @@ -37,9 +36,9 @@ Item { anchors { top: parent.top left: parent.left + right: parent.right } - width: parent.width spacing: 5 TextEdit { @@ -59,7 +58,7 @@ Item { //BEGIN debug Text { width: parent.width - visible: textItem.debug + visible: root.debug text: type } //END debug -- cgit v1.2.3