diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-09-17 20:34:32 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 18:38:22 +0200 |
commit | 0dda8bd96dab66edd0a922d219a10431247f41ff (patch) | |
tree | 60060a5df73fe607c63a0ece49ce23f4ca9ff1e9 /gui/components/StatusBox.qml | |
parent | ad5f4245ea2874fd8b6eb56691857c69cdf9860d (diff) |
[ui] more dialogs
icons, new font
Diffstat (limited to 'gui/components/StatusBox.qml')
-rw-r--r-- | gui/components/StatusBox.qml | 10 |
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 |