From 24b5ccf152b5ac27b9a8b750480f2f55e77e7b9f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 1 Feb 2025 10:05:01 -0500 Subject: [PATCH] Fix top spacing on all of the settings pages --- launcher/ui/Settings/AccountSettings.qml | 10 +++++----- launcher/ui/Settings/AccountsPage.qml | 4 ++-- launcher/ui/Settings/CompatibilityToolSetup.qml | 4 ++-- launcher/ui/Settings/GeneralSettings.qml | 4 ++-- launcher/ui/Settings/ProfileSettings.qml | 10 +++++----- launcher/ui/Settings/ProfilesPage.qml | 4 ++-- launcher/ui/Settings/SyncSettings.qml | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/launcher/ui/Settings/AccountSettings.qml b/launcher/ui/Settings/AccountSettings.qml index 2702a66..76d4195 100644 --- a/launcher/ui/Settings/AccountSettings.qml +++ b/launcher/ui/Settings/AccountSettings.qml @@ -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(); } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/AccountsPage.qml b/launcher/ui/Settings/AccountsPage.qml index 580736e..860d08e 100644 --- a/launcher/ui/Settings/AccountsPage.qml +++ b/launcher/ui/Settings/AccountsPage.qml @@ -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 { } } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/CompatibilityToolSetup.qml b/launcher/ui/Settings/CompatibilityToolSetup.qml index 1789e75..6a5b9fa 100644 --- a/launcher/ui/Settings/CompatibilityToolSetup.qml +++ b/launcher/ui/Settings/CompatibilityToolSetup.qml @@ -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(); } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/GeneralSettings.qml b/launcher/ui/Settings/GeneralSettings.qml index f831f57..5f7af34 100644 --- a/launcher/ui/Settings/GeneralSettings.qml +++ b/launcher/ui/Settings/GeneralSettings.qml @@ -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() } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index eae1751..8813cd8 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -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(); } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/ProfilesPage.qml b/launcher/ui/Settings/ProfilesPage.qml index 0ae8ac2..57d400c 100644 --- a/launcher/ui/Settings/ProfilesPage.qml +++ b/launcher/ui/Settings/ProfilesPage.qml @@ -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 { } } } -} \ No newline at end of file +} diff --git a/launcher/ui/Settings/SyncSettings.qml b/launcher/ui/Settings/SyncSettings.qml index cc27a51..c92f96a 100644 --- a/launcher/ui/Settings/SyncSettings.qml +++ b/launcher/ui/Settings/SyncSettings.qml @@ -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