Last active
June 4, 2019 03:03
-
-
Save lottadot/11ac02dbdf782f49d42f2cefe8ce8f7a to your computer and use it in GitHub Desktop.
Vertical stack in a Horizontal stack - remove one of the `This is a test` and it it builds.
This file contains hidden or 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
` | |
Showing Recent Messages | |
.../Projects/SWPoc/SWPoc/SWPoc/ContentView.swift:18:4: Static member 'leading' cannot be used on instance of type 'HorizontalAlignment' | |
` | |
HStack { | |
Image("Candy") | |
VStack(alignment: .leading) { | |
Text("hello") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
Text("This is a test") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment