任何文字选项文字模糊 [英] Text blurring at any text options

查看:87
本文介绍了任何文字选项文字模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,在单击没有处理程序的按钮(即没有单击动画的按钮)之后,我对我的眼睛有这种丑陋的效果:

After clicking, for example, on a button with no handler (that is no any reation axcept button clicking animation) I have this ugly effect on my eyes:

按钮上的文本模糊会在一秒钟内消失(从第一张图片到第二张图片,再到清晰度),然后文本变得清晰.我对XAML中"TextOptions"选项的任何组合(包括TextOptions.TextFormattingMode ="Display")都具有这种效果.

Blurring of the text on the button goes off in a second (from the first picture to the second and so on to the sharpness), then the text gets sharpness. I have this effect at any combinations of "TextOptions" options in XAML including TextOptions.TextFormattingMode="Display".

如果我单击一个引发例如选择文件对话框窗口的按钮,那么一切似乎都很好.

If I click on a button which raises, for example, select file dialog window, everything seems well.

如何避免这种模糊?您见过这种效果吗?

How to escape this blur? Have you ever seen this effect?

此外.仅当TextSize = 11且Aero禁用时,此效果才会出现.如果TextSize等于任何其他值,那么一切都会很好.但是11是默认值,因此每个人都可以看到此错误!

In addition. This effect appears only with TextSize=11 and Aero is disabled. With TextSize equals any another value all goes well. But 11 is a default value so everybody can see this bug!

推荐答案

我不知道您是否已解决此问题,但解决方案是使用标志UseLayoutRounding="True".将其扔到按钮样式上,它将得到修复.

I don't know if you've fixed this yet or not, but the solution is to use the flag UseLayoutRounding="True". Throw that on the button style and it will be fixed.

这篇关于任何文字选项文字模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆