From 1efaac480268cef4f1514e3e4f6167ec44f96268 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Wed, 2 Dec 2020 21:46:00 +0800 Subject: [PATCH] AddFeedbinAccountView.swift spacing --- .../Add Account/Views/AddFeedbinAccountView.swift | 12 +++++++++--- .../Add Account/Views/AddLocalAccountView.swift | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddFeedbinAccountView.swift b/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddFeedbinAccountView.swift index 8e9d6a876..6e0e83d76 100644 --- a/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddFeedbinAccountView.swift +++ b/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddFeedbinAccountView.swift @@ -39,16 +39,21 @@ struct AddFeedbinAccountView: View { } HStack { - VStack(alignment: .trailing, spacing: 12) { + VStack(alignment: .trailing, spacing: 14) { Text("Email") Text("Password") } - VStack { + VStack(spacing: 8) { TextField("me@email.com", text: $username) SecureField("•••••••••••", text: $password) } } + Text("Your username and password will be encrypted and stored in Keychain.") + .foregroundColor(.secondary) + .font(.callout) + .lineLimit(2) + .padding(.top, 4) Spacer() HStack(spacing: 8) { @@ -73,7 +78,8 @@ struct AddFeedbinAccountView: View { } } .padding() - .frame(width: 384, height: 200) + .frame(width: 384, height: 220) + .textFieldStyle(RoundedBorderTextFieldStyle()) } } diff --git a/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddLocalAccountView.swift b/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddLocalAccountView.swift index aa8b8b835..0704fbfa4 100644 --- a/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddLocalAccountView.swift +++ b/Multiplatform/macOS/Preferences/Preference Panes/Accounts/Account Preferences/Add Account/Views/AddLocalAccountView.swift @@ -58,6 +58,7 @@ struct AddLocalAccountView: View { } .padding() .frame(width: 384, height: 200) + .textFieldStyle(RoundedBorderTextFieldStyle()) } }