How to fix scaling of app window in MAUI UWP app?

Lohith K K 105 Reputation points
2023-07-24T13:43:29.97+00:00

I have a UWP application developed using .NET MAUI.

My requirement is that the app window needs to adjust to user screen size (1920X1080, 1680X1050, etc.) but it should not take user screen scaling (125%). It should always use 100% scaling of the screen size.

Thanks, in advance.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
    2023-07-26T07:26:28.95+00:00

    Hello,

    You could refer to the following documentation to implement this feature.

    In MAUI project, you could open Platforms/Windows to edit app.menifest.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful