Skip to content

Instantly share code, notes, and snippets.

@Rusti18
Last active October 10, 2022 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rusti18/f6b902a7f6869ad66548bf3ebf2ba181 to your computer and use it in GitHub Desktop.
Save Rusti18/f6b902a7f6869ad66548bf3ebf2ba181 to your computer and use it in GitHub Desktop.
SwiftUIPT-Ep1-G5
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