Skip to content

OverlappedPresenter.Preferred*** problem #10475

@LucaCris

Description

@LucaCris

Describe the bug

OverlappedPresenter.PreferredMinimumWidth, OverlappedPresenter.PreferredMaximumHeight and so on are not DPI aware.

The previous workaround, passing by WndProc(...), was OK instead...

Steps to reproduce the bug

Set a minimum w/h for any App and open it on different resolution monitors.

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.7.0: 1.7.250310001

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions