MaterialDesignInXAML/MaterialDesignInXamlToolkit

DialogHost can't take full width and height

Open

#2,409 opened on Aug 26, 2021

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C# (3,500 forks)batch import
Hacktoberfestbugdialoghost

Repository metrics

Stars
 (16,143 stars)
PR merge metrics
 (Avg merge 2d 7h) (9 merged PRs in 30d)

Description

My DialogHost can't take up all the space of the screen. Beyond 1450px in width, the height is reduced in despite of a width already equals to 1920px and height to 1080px in my code.

Expected

image

Currently

image

Behavior with a manual modification of the width only (height stays 1080px).

Gq2qq

Repo with a simple demo with only one step, "Restore NuGet Packages".

https://github.com/Imperare/PocDialogHost

I use 24" screens.

Contributor guide