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

How to set app launch window size #5509

Closed
jiangk576 opened this issue Mar 23, 2022 · 1 comment · Fixed by #4942
Closed

How to set app launch window size #5509

jiangk576 opened this issue Mar 23, 2022 · 1 comment · Fixed by #4942
Labels
fixed-in-7.0.0-rc.1.6683 legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) platform/macOS 🍏 macOS / Mac Catalyst proposal/open t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) t/enhancement ☀️ New feature or request

Comments

@jiangk576
Copy link

jiangk576 commented Mar 23, 2022

Description

I wonder how to set launch window size in maui。
When I search for Issues and DIscussion,I found there is no universal way to set launch window size in maui, #2370 ,someone says in windows we can get the window handler first and change window size, but in macOS there is no workaround way.
And I also find #4942 , this work will allow us to set window size to a fixed value while targeting Windows, What about MacOS? I think it's not an uniform solution for maui framework。

Public API Changes

setWindowSize()
setWindowLocation()

Intended Use-Case

I want to show different window size when using multi-window, so I need to set app launch window size。

@jfversluis jfversluis added platform/macOS 🍏 macOS / Mac Catalyst legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) t/enhancement ☀️ New feature or request labels Mar 23, 2022
@SmRiley

This comment was marked as off-topic.

@jfversluis jfversluis mentioned this issue Aug 24, 2022
25 tasks
@jfversluis jfversluis added this to the .NET 7 milestone Aug 24, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 27, 2022
@Eilon Eilon added the t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-7.0.0-rc.1.6683 legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) platform/macOS 🍏 macOS / Mac Catalyst proposal/open t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) t/enhancement ☀️ New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants