我有这个在我XAML
增加时屏幕字体大小小
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.4*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="0.4*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="0.5*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="1" >
<TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" Text="Hello there and welcome!" />
</Grid>
</Grid>
</Grid>
我面对的是,TextBlock
将留在所有屏幕尺寸相同FontSize
,所以当屏幕小的问题,它易于阅读,但随着屏幕变得越来越难以阅读。
如何将它保存在一个不错的FontSize
中,以便它可以从所有屏幕尺寸读取?屏幕扩展时是否有增加字体大小的方法?
大屏幕用户[请执行此操作](http://www.dummies.com/how-to/content/change-your-monitors-dots-per-inch-dpi-setting.html)。 –
@HansPassant好戏:| – KTOV
只是好奇。什么是字体大小和你使用更大屏幕的设备? –