UWP 中未定义的边框显示
Undefined border display in UWP
我对应用程序 UWP 中的边框显示有疑问:
这是我的代码:
<Border BorderThickness="2" CornerRadius="5">
<TextBlock x:Name="text" Padding="5"></TextBlock>
</Border>
这是我设备中的视图:
Lumia 650 dpi:150% windows 内幕 15014
平板电脑 1980x1080 dpi:150% windows 内幕 15014
笔记本(右侧可视化)1440x900 dpi:100% windows 14393
我尝试更改 dpi,但结果相同。
问题的原因是什么?
这是一个错误。我已将其记录在反馈中心 here。
我怀疑该问题与以下内容有关(来自 blog post 版本 14977,这是我注意到此问题的第一个版本):
We’ve changed the rendering technology used for many types of UWP app content, so please provide feedback through the Feedback Hub if you notice any new visual glitches in UWP apps. ADDED 12/2: For additional context on this change, we are now widely using the same Windows.UI.Composition API that app developers have access to for XAML UWP app and shell rendering.
我对应用程序 UWP 中的边框显示有疑问:
这是我的代码:
<Border BorderThickness="2" CornerRadius="5">
<TextBlock x:Name="text" Padding="5"></TextBlock>
</Border>
这是我设备中的视图:
Lumia 650 dpi:150% windows 内幕 15014
平板电脑 1980x1080 dpi:150% windows 内幕 15014
笔记本(右侧可视化)1440x900 dpi:100% windows 14393
我尝试更改 dpi,但结果相同。 问题的原因是什么?
这是一个错误。我已将其记录在反馈中心 here。
我怀疑该问题与以下内容有关(来自 blog post 版本 14977,这是我注意到此问题的第一个版本):
We’ve changed the rendering technology used for many types of UWP app content, so please provide feedback through the Feedback Hub if you notice any new visual glitches in UWP apps. ADDED 12/2: For additional context on this change, we are now widely using the same Windows.UI.Composition API that app developers have access to for XAML UWP app and shell rendering.