Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize the window on startup #1606

Open
HEIC-to-JPEG-Dev opened this issue Aug 15, 2024 · 4 comments
Open

Resize the window on startup #1606

HEIC-to-JPEG-Dev opened this issue Aug 15, 2024 · 4 comments
Labels
app enhancement Requests for general app improvements enhancement Expand an existing sample or add feature to app help wanted Extra attention is needed

Comments

@HEIC-to-JPEG-Dev
Copy link

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

@MGGSK
Copy link
Contributor

MGGSK commented Aug 15, 2024

Remembering the size should be easy.

@karkarl karkarl added help wanted Extra attention is needed enhancement Expand an existing sample or add feature to app app enhancement Requests for general app improvements and removed needs-triage labels Aug 15, 2024
@MGGSK
Copy link
Contributor

MGGSK commented Aug 29, 2024

I don't think setting a maximum size is a good idea because it can be too low (1366 x 768 is too low for most users) and in that case maximizing the window will cause issues.

@HEIC-to-JPEG-Dev
Copy link
Author

I don't think setting a maximum size is a good idea because it can be too low (1366 x 768 is too low for most users) and in that case maximizing the window will cause issues.

Is that from imperical evidence ? Whatever the size, just get the app to remember it's size and location, it currently starts at nearly 4000 pixels wide every time.

@MGGSK
Copy link
Contributor

MGGSK commented Oct 16, 2024

I don't think setting a maximum size is a good idea because it can be too low (1366 x 768 is too low for most users) and in that case maximizing the window will cause issues.

Is that from imperical evidence ? Whatever the size, just get the app to remember it's size and location, it currently starts at nearly 4000 pixels wide every time.

Its not from imperical evidence. The average screen resulution is 1920x1080 which is too large for a maximum size of 1366x768. I will make a pull request that adds this feature (Just without the maximum window size).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app enhancement Requests for general app improvements enhancement Expand an existing sample or add feature to app help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants