Fix alignment

This commit is contained in:
aiamnezia 2025-03-24 06:30:18 +04:00
parent 4cf47fd13f
commit 8733cc4ca2

View file

@ -46,13 +46,15 @@ Page {
} }
XSmallTextType { XSmallTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 24 Layout.topMargin: 24
text: qsTr("Support group in Telegram") text: qsTr("Support group in Telegram")
} }
MediumTextType { MediumTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 8 Layout.topMargin: 8
text: "@DefaultVPNSupport" text: "@DefaultVPNSupport"
color: Style.color.accent1 color: Style.color.accent1
@ -64,13 +66,15 @@ Page {
} }
XSmallTextType { XSmallTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 24 Layout.topMargin: 24
text: qsTr("E-mail for technical support") text: qsTr("E-mail for technical support")
} }
MediumTextType { MediumTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 8 Layout.topMargin: 8
text: "support@dfvpn.com" text: "support@dfvpn.com"
color: Style.color.accent1 color: Style.color.accent1
@ -82,13 +86,15 @@ Page {
} }
XSmallTextType { XSmallTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 24 Layout.topMargin: 24
text: qsTr("Site") text: qsTr("Site")
} }
MediumTextType { MediumTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 8 Layout.topMargin: 8
text: "dfvpn.com" text: "dfvpn.com"
color: Style.color.accent1 color: Style.color.accent1
@ -104,7 +110,8 @@ Page {
} }
MediumTextType { MediumTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
text: qsTr("Privacy policy") text: qsTr("Privacy policy")
color: Style.color.accent1 color: Style.color.accent1
MouseArea { MouseArea {
@ -115,7 +122,8 @@ Page {
} }
XSmallTextType { XSmallTextType {
Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
Layout.topMargin: 16 Layout.topMargin: 16
text: qsTr("v. %1").arg(SettingsController.getAppVersion()) text: qsTr("v. %1").arg(SettingsController.getAppVersion())
color: Style.color.gray7 color: Style.color.gray7