X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=qml%2Fpages%2FConnectPage.qml;h=6d32705d2c7c724863d8a0268d14eb3c85e04e33;hb=e24363e314aca32e7bee952f02f517a04a8dc5f2;hp=fcc22227b76a83ea3cc9f5fe97854052d308da1b;hpb=47f1326595263559a34d5db5e580fb2d1676e408;p=openvpnui.git diff --git a/qml/pages/ConnectPage.qml b/qml/pages/ConnectPage.qml index fcc2222..6d32705 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,34 @@ 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) + x: Theme.paddingSmall + y: Theme.paddingSmall + } + } } } }