I want to have my Circle appear like this cutting the corner of the card. I tried just making the frame bigger but that offset other things too. Is there any easy way for that?
This is what my Current Code looks like:
VStack(alignment: .leading) {
HStack {
Text("Robbie Williams St. Patricks Party feat. The Demons (Rock)")
.font(.system(size: 12))
.foregroundColor(.white)
.padding(10)
Circle()
.fill(.white)
.frame(width: 62, height: 62)
.overlay(
Circle()
.fill(Color(.init(red: 1, green: 0.78, blue: 0.17, alpha: 1)))
.frame(width: 57, height: 57)
.overlay(
VStack {
Text("Oct").font(.system(size: 10))
Text("16").font(.system(size: 22))
}
)
)
}
Group {
Text("Wed 19:00 - 23:00")
.font(.system(size: 10.5))
.padding(.init(top: 0, leading: 10, bottom: 0, trailing: 0))
Text("MTC Cologne, Cologne, Germany")
.font(.system(size: 10.5))
.padding(.init(top: 0, leading: 10, bottom: 0, trailing: 0))
}.foregroundColor(.white)
Spacer()
HStack {
Button() {
} label: {
Image("info").resizable()
.frame(width: 21, height: 21)
.colorInvert()
.padding(14)
}
Spacer()
}
}.frame(width: 280, height: 160)
.background(Color(.init(red: 0, green: 0, blue: 0, alpha: 1)).opacity(0.6))


