MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

DialogHost can't take full width and height

Open
#2,409 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug dialoghost Hacktoberfest
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the simple demo in the linked Imperare/PocDialogHost repository after restoring NuGet packages, then inspect how DialogHost is sized at widths beyond 1450px. Done means the DialogHost fills the available 1920×1080 screen without reducing its height, matching the expected screenshot.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.