I have been trying to achieve to match timeline sidebar height as per the content below header.
But side bar is taking full height, is there any way we can restrict it's height as of middle content. it's in HStackView as below.
//header
HStack {
Circle()
.fill(Color.blue)
.frame(width: 15, height: 15)
.overlay(Circle().inset(by: 2).fill(Color.white))
Text("Headline").font(.headline)
}.padding(0)
//content
HStack {
VStack {
// Text("l").padding(.leading,5)
// Text("l").padding(.leading,5)
Rectangle().frame(width: 20)
}
Text("Time Line Content Time Line Content Time Line Content Time Line Content fdfgfuysdgfuydsgfgds fgfyusdfyfdsdfsdfgyusdg fydsufidsfy uyfudsfuydsufysdfsdf dfusdtfoisdtftdsoftsdftsydtfsdtfodstfdstf fgdsygfdsgfuygu").font(.caption)
}
//footer
HStack {
Circle()
.fill(Color.orange)
.frame(width: 15, height: 15)
.overlay(Circle().inset(by: 2).fill(Color.white))
Text("Footer").font(.subheadline)
}.padding(0)
Thanks.


