summaryrefslogtreecommitdiff
path: root/gui/main.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/main.qml
parentd6c712d1b127d018c829b0b006fd94749916fb7d (diff)
[ui] more dialogs
icons, new font
Diffstat (limited to 'gui/main.qml')
-rw-r--r--gui/main.qml30
1 files changed, 20 insertions, 10 deletions
diff --git a/gui/main.qml b/gui/main.qml
index 515330a..d8bfb91 100644
--- a/gui/main.qml
+++ b/gui/main.qml
@@ -9,7 +9,7 @@
- [x] font: monserrat
- [x] nested states
- [x] splash init errors
- - [.] gateway selector
+ - [x] gateway selector
- [ ] bridges
- [ ] minimize/hide from systray
- [ ] control actions from systray
@@ -29,14 +29,19 @@ import "./components"
ApplicationWindow {
id: root
-
visible: true
- width: 360
- height: 520
- minimumWidth: 300
- maximumWidth: 300
- minimumHeight: 500
- maximumHeight: 500
+
+ property int appHeight: 460
+ property int appWidth: 260
+
+ width: appWidth
+ minimumWidth: appWidth
+ maximumWidth: appWidth
+
+ height: appHeight
+ minimumHeight: appHeight
+ maximumHeight: appHeight
+
title: ctx ? ctx.appName : "VPN"
Material.accent: Material.Green
@@ -60,12 +65,17 @@ ApplicationWindow {
FontLoader {
id: lightFont
- source: "qrc:/montserrat-light.ttf"
+ source: "qrc:/poppins-light.ttf"
}
FontLoader {
id: boldFont
- source: "qrc:/montserrat-bold.ttf"
+ source: "qrc:/poppins-bold.ttf"
+ }
+
+ FontLoader {
+ id: boldFontMonserrat
+ source: "qrc:/monserrat-bold.ttf"
}
font.family: lightFont.name