Explorar o código

left align verbose hints for remaining UI features

Andreas Stokholm hai 1 ano
pai
achega
388a0e220e

+ 2 - 2
FreeAPS/Sources/Modules/UserInterfaceSettings/View/UserInterfaceSettingsRootView.swift

@@ -347,7 +347,7 @@ extension UserInterfaceSettings {
                                     hintLabel = "Forecast Display Type"
                                     hintLabel = "Forecast Display Type"
                                     selectedVerboseHint =
                                     selectedVerboseHint =
                                         AnyView(
                                         AnyView(
-                                            VStack(spacing: 10) {
+                                            VStack(alignment: .leading, spacing: 10) {
                                                 Text(
                                                 Text(
                                                     "This setting allows you to choose between the following two options for the glucose forecast:"
                                                     "This setting allows you to choose between the following two options for the glucose forecast:"
                                                 )
                                                 )
@@ -395,7 +395,7 @@ extension UserInterfaceSettings {
                                     hintLabel = "Total Insulin Display Type"
                                     hintLabel = "Total Insulin Display Type"
                                     selectedVerboseHint =
                                     selectedVerboseHint =
                                         AnyView(
                                         AnyView(
-                                            VStack(spacing: 10) {
+                                            VStack(alignment: .leading, spacing: 10) {
                                                 Text(
                                                 Text(
                                                     "Choose between Total Daily Dose (TDD) or Total Insulin in Scope (TINS) to be displayed above the main glucose graph."
                                                     "Choose between Total Daily Dose (TDD) or Total Insulin in Scope (TINS) to be displayed above the main glucose graph."
                                                 )
                                                 )