Fixed that when entering long usages "Usage" label migrated to the right
This commit is contained in:
parent
b9f562ab3f
commit
1f9fd48e80
|
@ -155,9 +155,12 @@ struct TransferMoneyDialog: View {
|
|||
}
|
||||
|
||||
Section {
|
||||
VStack {
|
||||
Text("Usage")
|
||||
.alignHorizontally(.leading)
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
Text("Usage")
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
||||
UIKitTextField("Enter usage", text: $usage, actionOnReturnKeyPress: handleReturnKeyPress, textChanged: validateUsage)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue