【问题标题】:Windows Store App Standard styles vs. Windows store App Guidelines for FontsWindows 应用商店应用标准样式与 Windows 应用商店应用字体指南
【发布时间】:2013-03-24 00:11:20
【问题描述】:

我正在开发我的第一个 Windows 商店应用程序,但我遇到了样式问题。 VS 2012 中的任何新的 Windows 商店应用程序项目都有一个 StandardStyles.xaml 资源字典。此资源字典包含所有文本块控件的许多样式,但这些样式与Windows Store App Guidelines For Fonts 中的样式不一致。例如 - HeaderTextStyle 是 StandardStyles.xaml 中页眉的样式,它有一个值 = 56 的 FontSize 设置器; - 在 Windows Store App Guidelines for Font 中,页眉的 FontSize 属性值等于 42

什么是正确的选择?

有人可以帮助我吗?

【问题讨论】:

    标签: c# xaml windows-8 microsoft-metro windows-store-apps


    【解决方案1】:

    这是单位问题。它是 42pt 字体,即 56 像素。

    这是一篇可能有帮助的博文:http://w8isms.blogspot.com/2012/06/metro-fonts-points-pixels.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-10-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多