Fixed that when entering long usages "Usage" label migrated to the right

This commit is contained in:
dankito 2020-09-20 16:22:20 +02:00
parent b9f562ab3f
commit 1f9fd48e80
1 changed files with 6 additions and 3 deletions

View File

@ -155,9 +155,12 @@ struct TransferMoneyDialog: View {
} }
Section { Section {
VStack { VStack(alignment: .leading) {
HStack {
Text("Usage") Text("Usage")
.alignHorizontally(.leading)
Spacer()
}
UIKitTextField("Enter usage", text: $usage, actionOnReturnKeyPress: handleReturnKeyPress, textChanged: validateUsage) UIKitTextField("Enter usage", text: $usage, actionOnReturnKeyPress: handleReturnKeyPress, textChanged: validateUsage)
} }