X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=qml%2Fpages%2FConnectPage.qml;h=3d6c296d63fb6162889bacb57701e170e0a90ecd;hb=052fa14434d3ca4b7d08c2c2fccf3791e20afbaa;hp=fcc22227b76a83ea3cc9f5fe97854052d308da1b;hpb=47f1326595263559a34d5db5e580fb2d1676e408;p=openvpnui.git diff --git a/qml/pages/ConnectPage.qml b/qml/pages/ConnectPage.qml index fcc2222..3d6c296 100644 --- a/qml/pages/ConnectPage.qml +++ b/qml/pages/ConnectPage.qml @@ -35,7 +35,6 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 - Page { id: connectPage @@ -149,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 + } + } } } }