You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,18 @@ You can use _any_ combination of horizontal and vertical alignment to achieve yo
31
31
32
32

33
33
34
+
*`horizontalAlignment = .leading`
35
+
36
+
Renders as either `.left` or `.right`, depending on the user's _layout direction_ ([UIApplication.shared.userInterfaceLayoutDirection](https://developer.apple.com/documentation/uikit/uiapplication/1623025-userinterfacelayoutdirection)):
37
+
*`.leftToRight` → `.left`
38
+
*`.rightToLeft` → `.right`
39
+
40
+
*`horizontalAlignment = .trailing`
41
+
42
+
Renders as either `.left` or `.right`, depending on the user's _layout direction_ ([UIApplication.shared.userInterfaceLayoutDirection](https://developer.apple.com/documentation/uikit/uiapplication/1623025-userinterfacelayoutdirection)).
0 commit comments