X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=qml%2Fpages%2FConnectPage.qml;h=3d6c296d63fb6162889bacb57701e170e0a90ecd;hb=052fa14434d3ca4b7d08c2c2fccf3791e20afbaa;hp=23bd65b22f35cd5f0f67cec3a4ed82adab4b64fc;hpb=ee3968ffa08d4e0fcbad87765efa3aeb32ff0554;p=openvpnui.git diff --git a/qml/pages/ConnectPage.qml b/qml/pages/ConnectPage.qml index 23bd65b..3d6c296 100644 --- a/qml/pages/ConnectPage.qml +++ b/qml/pages/ConnectPage.qml @@ -148,6 +148,35 @@ Page { anchors.verticalCenter: parent.verticalCenter } } + + Rectangle { + color: "transparent" + border { + color: Theme.highlightBackgroundColor + width: 1 + } + //radius: Theme.paddingSmall + anchors.horizontalCenter: parent.horizontalCenter + height: (20 * Theme.fontSizeTiny) + (2 * Theme.paddingLarge) + width: parent.width - 2 * Theme.paddingLarge + x: Theme.paddingLarge + + Label { + id: logOutput + textFormat: Text.PlainText + width: parent.width - 2 * Theme.paddingSmall + wrapMode: Text.WrapAnywhere + font.pixelSize: Theme.fontSizeTiny * 0.6 + font.family: "Monospace" + color: Theme.highlightColor + visible: true + text: VpnControl.logText + maximumLineCount: Math.floor(18 / 0.6) + verticalAlignment: Text.AlignBottom + x: Theme.paddingSmall + y: Theme.paddingSmall + } + } } } }