dotnet / dotnet/wpf

Grid display is misaligned with the window

Open
#9,725 10 comments 0 reactions 0 assignees View on GitHub
Investigate
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

The WPF window does not look the same in design mode as it does when built.

The window style is `SingleBorderWindow `or `ThreeDBorderWindow`.

I don't know if this will be a problem in `ToolWindow `style

### Reproduction Steps

Create a WPF project and build.

You can add a test label.

### Expected behavior

The contents on the right and bottom are displayed completely.

### Actual behavior

The content on the right and below is incomplete or cropped.

### Regression?

I didn't test the older version.

### Known Workarounds

Use the `None` window style.

### Impact

_No response_

### Configuration

.NET 6 to .NET 9

Windows 10 22H2, Windows 11 24H2

Any CPU

### Other information

[Video_CN](https://www.bilibili.com/video/BV1BtpMeKEAf/)

[Video_EN](https://www.youtube.com/watch?v=MSsYZjcjtis)

The project in the video is .NET 8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.