Add content argument to MainWindow instantiation #2307
Labels
enhancement
New features, or improvements to existing features.
good first issue
Is this your first time contributing? This could be a good place to start!
What is the problem or limitation you are having?
Right now, to create a MainWindow and add content to it, we have to do it in two steps and in a not so elegant way:
Describe the solution you'd like
Allow assigning "content" during instantiation of MainWindow as well, so we can do it in one step and more elegantly:
This would be consistent with, for example, ScrollContainer.
Describe alternatives you've considered
Additional context
No response
The text was updated successfully, but these errors were encountered: