summaryrefslogtreecommitdiff
path: root/gui/components/StatusBox.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-17 20:34:32 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-11-23 21:51:07 +0100
commitbe36ce80cac534afda4393fc6bd904d489b63361 (patch)
tree742d3a3418b20cb8df97cfe74780fa3a197ecf60 /gui/components/StatusBox.qml
parentd6c712d1b127d018c829b0b006fd94749916fb7d (diff)
[ui] more dialogs
icons, new font
Diffstat (limited to 'gui/components/StatusBox.qml')
-rw-r--r--gui/components/StatusBox.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/gui/components/StatusBox.qml b/gui/components/StatusBox.qml
index 2f56faf..c4a4a08 100644
--- a/gui/components/StatusBox.qml
+++ b/gui/components/StatusBox.qml
@@ -29,6 +29,7 @@ Item {
height: 300
radius: 10
antialiasing: true
+
anchors {
fill: parent
margins: 20
@@ -76,7 +77,7 @@ Item {
height: 45
anchors {
top: statusBoxBackground.top
- topMargin: 40
+ topMargin: 25
horizontalCenter: parent.horizontalCenter
}
BoldLabel {
@@ -96,7 +97,7 @@ Item {
VerticalSpacer {
id: spacerPreImg
visible: true
- height: 150
+ height: 120
}
Image {
@@ -110,7 +111,8 @@ Item {
VerticalSpacer {
id: spacerPostImg
visible: true
- height: 30
+ height: 20
+ Layout.alignment: Qt.AlignBottom
}
MaterialButton {
@@ -128,7 +130,7 @@ Item {
}
onClicked: {
- if (vpn.state === "on") {
+ if (vpn.state === "on" | vpn.state === "starting") {
backend.switchOff()
} else if (vpn.state === "off") {
vpn.startingUI = true