From 1f9fd48e807be8c41edd90e1b5e3907dd19f0ca5 Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 20 Sep 2020 16:22:20 +0200 Subject: [PATCH] Fixed that when entering long usages "Usage" label migrated to the right --- .../BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift index da7b490f..146255d4 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift @@ -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) }