[HDPI] SystemAware controls inside containers anchored with Bottom or Right are messed up.
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### .NET version
.Net9
### Did it work in .NET Framework?
Not tested/verified, but I think - NO.
### Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not working with .Net8, and I think with oldest too.
### Issue description
Form designed and launched with 125% dpi:
If `AnchorStyles.Bottom` is used then problems are more huge:
This is one of more others issues with anchoring Bottom / Right and HDPI:
https://github.com/dotnet/winforms/issues/5076
https://github.com/dotnet/winforms/issues/8157
https://github.com/dotnet/winforms/issues/10958
https://github.com/dotnet/winforms/issues/11516
...
Setting:
```json
{
"configProperties": {
"System.Windows.Forms.AnchorLayoutV2": true
}
}
```
in `runtimeconfig.template.json` will solve the issues.
### Steps to reproduce
[TabControlAnchorBug.zip](https://github.com/user-attachments/files/23449795/TabControlAnchorBug.zip)
Contributor guide
Assessment
This issue has not been assessed yet.