Last active
October 10, 2022 09:53
-
-
Save Rusti18/f6b902a7f6869ad66548bf3ebf2ba181 to your computer and use it in GitHub Desktop.
SwiftUIPT-Ep1-G5
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
HStack(spacing: 30.0) { | |
Image("man") | |
.resizable() | |
.frame(width: 60.0, height: 60.0) | |
.clipShape(Circle()) | |
VStack(alignment: .leading, spacing: 0.0) { | |
Text("John Doe") | |
.font(.system(size: 18, weight: .bold)) | |
Spacer() | |
Text("Attorney at law") | |
.font(.system(size: 11, weight: .regular)) | |
Spacer() | |
Text("Berkley Ltd.") | |
.font(.system(size: 10, weight: .regular)) | |
.italic() | |
}.frame(height: 60.0) | |
} | |
.padding([.leading, .trailing], 12.0) | |
.padding([.top, .bottom], 24.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment