Should this not set the inspector width to 550 every time?
TableView()
.inspector(isPresented: $state.presented) {
InspectorFormView(selection: model[state.selection])
.inspectorColumnWidth(min: 150, ideal: 550, max: 600)
}
This is almost verbatim from the WWDC video (10161).
This ideal parameter will be the size of the column at at first launch, but if the user resizes the inspector, the system will persist that size across launches.
Inspector uses the minimum width (150) in every case.
How can the ideal width be guaranteed upon initial launch? I could set the minimum to 550, but I'd like the user to be able to reduce the size of the inspector as well ...
Thanks much & keep inspecting!🧐
(Sonoma, beta 5 / Xcode beta 6)