Hi Sydney,
There is an initial NavigationStack in the leading view ;
VStack(alignment: .leading) {
HStack {
NavigationLink(destination: MultiSelectPartialView(selectedProcedures: $selectedPartial)) {
Text("Partial")
}
.frame(width: 75)
Text("Selected are:")
Text(selectedPartial.joined(separator: ","))
.foregroundColor(Color(.red))
.font(.subheadline)
Spacer()
}
HStack {
Text("Base Material (Non-Metal)")
.font(.subheadline)
Picker("",selection: $selectedBaseMaterial) {
ForEach(basematareials, id: \.self ) { base in
Text(base.description)
.tag(base.description)
}
}
.frame(width: 150)
.pickerStyle(.automatic)
.bold()
.foregroundColor(Color(.red))
Spacer()
Text("Metal Framework")
.font(.subheadline)
Picker("",selection: $selectedMetal) {
ForEach(metalFramework, id: \.self ) { metal in
Text(metal.description)
.tag(metal.description)
}
}
.frame(width: 150)
.pickerStyle(.automatic)
.bold()
.foregroundColor(Color(.red))
}
Topic:
UI Frameworks
SubTopic:
SwiftUI