Description
Checklist
- I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
- This issue only relates to a single feature. I will open new issues for any other features.
Is your feature request related to a problem?
I think the issue has already been described here: #2165
I essentially have the same pains, but instead of having to click on the list-view toggle button all of the time, I would like to show the dialogs with that view by default.
Is it possible to construct a solution with the existing API?
It might be able to get a reference to the button, as is done in the tests, but I would prefer a more clear API.
https://github.com/fyne-io/fyne/pull/2251/files#diff-3144205fac6ab76f332735320fee204ddb6963bcc76a40684806537d5a999534R441
Describe the solution you'd like to see.
When creating a dialog, like dialog.NewFileOpen()
I would propose to have a method on the returned object like SetDefaultView()
which lets me select whether to use the Grid
or List
view. I would expect that this is set before the Show()
method is called.
With some help from you (i.e. drafting the solution together), I would be happy to help implement it.
Activity