minor ui fixes

This commit is contained in:
vladimir.kuznetsov 2023-08-26 10:08:50 +03:00
parent a74736b100
commit 29bef052c7
16 changed files with 57 additions and 35 deletions

View file

@ -70,6 +70,8 @@ PageType {
Layout.topMargin: 24
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
spacing: 0
Header1TextType {
text: root.defaultServerName
}
@ -78,6 +80,8 @@ PageType {
Layout.preferredWidth: 18
Layout.preferredHeight: 18
Layout.leftMargin: 12
source: "qrc:/images/controls/chevron-down.svg"
}
}
@ -152,7 +156,8 @@ PageType {
rootButtonBackgroundColor: "#D7D8DB"
rootButtonHoveredBorderColor: "transparent"
rootButtonPressedBorderColor: "transparent"
rootButtonTextMargins: 8
rootButtonTextTopMargin: 8
rootButtonTextBottomMargin: 8
text: root.defaultContainerName
textColor: "#0E0E11"
@ -303,6 +308,7 @@ PageType {
ImageButtonType {
image: "qrc:/images/controls/settings.svg"
imageColor: "#D7D8DB"
implicitWidth: 56
implicitHeight: 56

View file

@ -142,7 +142,7 @@ PageType {
height: 24
color: "#D7D8DB"
selectionColor: "#412102"
selectionColor: "#633303"
selectedTextColor: "#D7D8DB"
font.pixelSize: 16

View file

@ -26,9 +26,11 @@ PageType {
anchors.left: parent.left
anchors.right: parent.right
spacing: 0
HeaderType {
Layout.fillWidth: true
Layout.topMargin: 20
Layout.topMargin: 24
Layout.rightMargin: 16
Layout.leftMargin: 16

View file

@ -106,9 +106,11 @@ PageType {
anchors.rightMargin: 16
anchors.leftMargin: 16
spacing: 0
HeaderType {
Layout.fillWidth: true
Layout.topMargin: 20
Layout.topMargin: 24
headerText: qsTr("VPN Access")
}
@ -161,6 +163,7 @@ PageType {
ParagraphTextType {
Layout.fillWidth: true
Layout.topMargin: 24
Layout.bottomMargin: 24
text: accessTypeSelector.currentIndex === 0 ? qsTr("VPN access without the ability to manage the server") :
qsTr("Full access to server")
@ -171,7 +174,7 @@ PageType {
id: serverSelector
Layout.fillWidth: true
Layout.topMargin: 24
Layout.topMargin: 16
drawerHeight: 0.4375
@ -385,7 +388,7 @@ PageType {
BasicButtonType {
Layout.fillWidth: true
Layout.topMargin: 32
Layout.topMargin: 40
enabled: shareButtonEnabled

View file

@ -163,14 +163,6 @@ PageType {
}
}
MouseArea {
anchors.fill: tabBar
anchors.leftMargin: shareTabButton.visible ? 96 : 128
anchors.rightMargin: shareTabButton.visible ? 96 : 128
cursorShape: Qt.PointingHandCursor
enabled: false
}
BusyIndicatorType {
id: busyIndicator
anchors.centerIn: parent