MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
231 stars 499 forks source link

Compact Overlay API needs sizing information somewhere #725

Open shanez-MSFT opened 6 years ago

shanez-MSFT commented 6 years ago

Compact Overlay dev here. The min and max sizes are not outlined anywhere on MSDN, so I keep getting mail asking for how the sizing works.

Min size is 150epx x 150epx. Max size is min(500epx, half the width in pixels of the screen the window is on) x min(500epx, half the height in pixels of the screen the window is on)

Where epx is Effective Pixels or scaled pixels. So for example, on a 1920x1080 display set to 150% scaling, the minimum size of a compact overlay window will be 255x255 pixels, and the maximum size of a compact overlay window will be 750x540.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

GrantMeStrength commented 3 years ago

Sorry for the delay in getting to this issue. I am investigating to try and find the answer, and add it to the docs.

shanez-MSFT commented 3 years ago

Hello, I've given the answer above? It just needs to be added to MSDN. My alias is shanez if you have any other questions.