Skip to content

Commit

Permalink
config(macOS): add tooltip help text for port forwarding fields
Browse files Browse the repository at this point in the history
Resolves #6089
  • Loading branch information
osy committed Mar 31, 2024
1 parent 436d238 commit f9ab7e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Platform/Shared/VMConfigPortForwardForm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ struct VMConfigPortForwardForm: View {
Group {
VMConfigConstantPicker("Protocol", selection: $forward.protocol)
DefaultTextField("Guest Address", text: $forward.guestAddress.bound, prompt: "10.0.2.15")
.help("Guest Address")
NumberTextField("Guest Port", number: $forward.guestPort, prompt: "1234")
.help("Guest Port")
DefaultTextField("Host Address", text: $forward.hostAddress.bound, prompt: "127.0.0.1")
.help("Host Address")
NumberTextField("Host Port", number: $forward.hostPort, prompt: "1234")
.help("Host Port")
}.disableAutocorrection(true)
.keyboardType(.decimalPad)
}
Expand Down

0 comments on commit f9ab7e7

Please sign in to comment.