Windows Phone 8.1 Italic FontStyle Bug?

时间:2014-06-25 15:05:35

标签: windows-phone-8.1

我在Windows Phone 8.1项目中遇到了奇怪的行为。罪魁祸首是FontStyle="Italic"控件的TextBox属性。

我创建了一个新的Windows Phone 8.1项目,在MainPage.xaml页面上我有这个XAML:

<Grid>
    <TextBox Text="Am I mad?"
             FontStyle="Italic"/>
</Grid>

在设计师身上,文字以斜体显示:

The designer shows italics

但是当我在模拟器中运行项目时,斜体不见了:

The emulator does not show italics

当我通过将FontWeight="Bold"添加到TextBox来修改XAML时,我也看到了这一点:

<TextBox Text="Am I mad?"
             FontStyle="Italic"
             FontWeight="Bold"/>

粗体字体和斜体显示并按预期工作。我错过了一些明显的东西吗

0 个答案:

没有答案
相关问题