AddFeedbinAccountView.swift spacing

This commit is contained in:
Stuart Breckenridge 2020-12-02 21:46:00 +08:00
parent b9299329cb
commit 1efaac4802
No known key found for this signature in database
GPG Key ID: 1F11FD62007DC331
2 changed files with 10 additions and 3 deletions

View File

@ -39,16 +39,21 @@ struct AddFeedbinAccountView: View {
} }
HStack { HStack {
VStack(alignment: .trailing, spacing: 12) { VStack(alignment: .trailing, spacing: 14) {
Text("Email") Text("Email")
Text("Password") Text("Password")
} }
VStack { VStack(spacing: 8) {
TextField("me@email.com", text: $username) TextField("me@email.com", text: $username)
SecureField("•••••••••••", text: $password) 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() Spacer()
HStack(spacing: 8) { HStack(spacing: 8) {
@ -73,7 +78,8 @@ struct AddFeedbinAccountView: View {
} }
} }
.padding() .padding()
.frame(width: 384, height: 200) .frame(width: 384, height: 220)
.textFieldStyle(RoundedBorderTextFieldStyle())
} }
} }

View File

@ -58,6 +58,7 @@ struct AddLocalAccountView: View {
} }
.padding() .padding()
.frame(width: 384, height: 200) .frame(width: 384, height: 200)
.textFieldStyle(RoundedBorderTextFieldStyle())
} }
} }