why is there so much space in my form?
I want to have the first TextField at the top of the View i hope someone can help me thank you guys.
Code:
var body: some View {
NavigationView{
Form{
Section(header: Text("Kunde")){
TextField("Vorname", text: $vorName)
TextField("Name", text: $name)
}.frame(alignment: .top)
Section(header: Text("Telefonnummer")) {
TextField("Mobil", text: $number)
.lineSpacing(10)
.multilineTextAlignment(.leading)
.lineLimit(10)
.keyboardType(.numberPad)
TextField("Festnetz", text: $home)
.lineSpacing(10)
.multilineTextAlignment(.leading)
.lineLimit(10)
.keyboardType(.numberPad)
}
}
}


