HandyOrg / HandyControl

Contains some simple and commonly used WPF controls
https://handyorg.github.io/
MIT License
6.13k stars 1.03k forks source link

.Net Framework版本的Demo程序中的Controls/Badge显示异常 #274

Closed DingpingZhang closed 4 years ago

DingpingZhang commented 4 years ago

如下图所示,在Core的版本中是正常的,而在Framework的版本中,则被Border截断:

image

NaBian commented 4 years ago

可能和系统版本、系统配置或硬件环境有关,在我电脑是正常的

DingpingZhang commented 4 years ago

可能和系统版本、系统配置或硬件环境有关,在我电脑是正常的

我在台式机和笔记本上测试都是这样,系统都是win10 1909

ghost1372 commented 4 years ago

@DingpingZhang change your scale and layout (windows display settings) to 125% or 100% Maybe it will solve the problem

DingpingZhang commented 4 years ago

change your scale and layout (windows display settings) to 125% or 100% Maybe it will solve the problem

Thank you for your suggestion, but it does not work on my machine.

image

DingpingZhang commented 4 years ago

Hi all,

I found this issue related to the .NET version. I just retarget the .NET version of the Demo project to .NET46 (must > .NET452), and the issue will not be repeated.

NaBian commented 4 years ago

maybe a bug of wpf. anyway, we have to solve this problem.

NaBian commented 4 years ago

besides .NET version, it has to do with the system version, my windows version is 1903.