WPF类比'em'单位 [英] WPF analogy for 'em' unit

查看:130
本文介绍了WPF类比'em'单位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是WPF的CSS类比 em 单位?

What is the WPF analogy for the CSS em unit?

推荐答案

AFAIK,目前没有一个。但你可以让你渴望这个已知这里

AFAIK, there isn't one right now. But you can make your desire for this known here.

一个替代方法(我不知道这是否可能)将测量所需字体的大小,然后采取作为您的ems单位,然后使用这些单位缩放。

One alternative (and I don't know if this is possible either) would be to measure how big the desired font is, then take that as your "ems" unit, then scale using those "units" instead.

这篇关于WPF类比'em'单位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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