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 {
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue