microsoft / microsoft/WinUI-Gallery
Resize the window on startup
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.6k
- Forks
- 756
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 14
Description
Issue type
enhancement
Which version of the app?
WinUI 3 Gallery
Description
On small monitors/laptops etc, the launch window default size is probably acceptable. On larger monitors (ultra wide for example) it is massive, 3824 x 1002.
Request that a max size is set 1366 x 768, or that it remembers the size it was last set to (like UWP did).
Screenshots
No response
Windows version
Windows 11 23H2 (22631)
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by finding the WinUI 3 Gallery application's startup and main-window initialization entry points. Check how the window currently receives its default size and whether any existing persistence pattern is available; done means the launch window is capped at 1366 × 768 or restores its previous size, with the chosen behavior verified on a large monitor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100