Created
January 22, 2020 08:25
-
-
Save RosayGaspard/a96e29d5448d50e46043da3456849695 to your computer and use it in GitHub Desktop.
Frame setting to make view take full width in SwiftUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Text("My text") | |
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment