1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 03:37:47 +00:00

Fix top spacing on all of the settings pages

This commit is contained in:
Joshua Goins 2025-02-01 10:05:01 -05:00
parent c850ecc093
commit 24b5ccf152
7 changed files with 19 additions and 19 deletions

View file

@ -61,7 +61,7 @@ FormCard.FormCardPage {
visible: generalAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormTextFieldDelegate {
id: usernameDelegate
@ -105,7 +105,7 @@ FormCard.FormCardPage {
visible: accountAction.checked && !page.account.isSapphire
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormComboBoxDelegate {
id: licenseField
@ -178,7 +178,7 @@ FormCard.FormCardPage {
visible: accountAction.checked && page.account.isSapphire
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormTextFieldDelegate {
id: lobbyURLDelegate
@ -195,7 +195,7 @@ FormCard.FormCardPage {
visible: loginAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormCheckDelegate {
id: rememberPasswordDelegate
@ -268,4 +268,4 @@ FormCard.FormCardPage {
page.Window.window.pageStack.layers.pop();
}
}
}
}

View file

@ -35,7 +35,7 @@ FormCard.FormCardPage {
]
FormCard.FormCard {
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
visible: repeater.count !== 0
Repeater {
@ -74,4 +74,4 @@ FormCard.FormCardPage {
}
}
}
}
}

View file

@ -18,7 +18,7 @@ FormCard.FormCardPage {
FormCard.FormCard {
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormTextDelegate {
text: i18n("Press the button below to install the compatibility tool for Steam.")
@ -79,4 +79,4 @@ FormCard.FormCardPage {
page.errorDialog.open();
}
}
}
}

View file

@ -19,7 +19,7 @@ FormCard.FormCardPage {
title: i18nc("@title:window", "General")
FormCard.FormCard {
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormCheckDelegate {
id: closeAstraDelegate
@ -88,4 +88,4 @@ FormCard.FormCardPage {
onClicked: LauncherCore.clearAvatarCache()
}
}
}
}

View file

@ -62,7 +62,7 @@ FormCard.FormCardPage {
visible: generalAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormTextFieldDelegate {
id: nameDelegate
@ -115,7 +115,7 @@ FormCard.FormCardPage {
visible: wineAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormComboBoxDelegate {
id: wineTypeDelegate
@ -166,7 +166,7 @@ FormCard.FormCardPage {
visible: toolsAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormCheckDelegate {
text: i18n("Enable Gamescope")
@ -236,7 +236,7 @@ FormCard.FormCardPage {
visible: dalamudAction.checked
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormCheckDelegate {
id: enableDalamudDelegate
@ -317,4 +317,4 @@ FormCard.FormCardPage {
page.Window.window.pageStack.layers.pop();
}
}
}
}

View file

@ -31,7 +31,7 @@ FormCard.FormCardPage {
FormCard.FormCard {
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormButtonDelegate {
text: i18n("Auto-login Profile")
@ -100,4 +100,4 @@ FormCard.FormCardPage {
}
}
}
}
}

View file

@ -20,7 +20,7 @@ FormCard.FormCardPage {
id: infoCard
Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.topMargin: Kirigami.Units.largeSpacing * 4
FormCard.FormTextDelegate {
id: infoDelegate