提交记录修改UI/App.xaml+9 −0看文件
| @@ -4,9 +4,18 @@ | ||
| 4 | 4 | xmlns:local="clr-namespace:UI" |
| 5 | 5 | Startup="OnStartup" |
| 6 | 6 | xmlns:base="clr-namespace:UI.Controls.Base" |
| 7 | 新增: xmlns:c="clr-namespace:UI.Controls" | |
| 7 | 8 | > |
| 8 | 9 | <Application.Resources> |
| 9 | 10 | <ResourceDictionary> |
| 11 | 新增: <!--指定字体以修复非简中环境下的字体问题--> | |
| 12 | 新增: <Style TargetType="{x:Type TextBlock}"> | |
| 13 | 新增: <Setter Property="FontFamily" Value="Segoe UI, Microsoft YaHei UI" /> | |
| 14 | 新增: </Style> | |
| 15 | 新增: <Style TargetType="{x:Type Control}" x:Key="fontStyling"> | |
| 16 | 新增: <Setter Property="FontFamily" Value="Segoe UI, Microsoft YaHei UI" /> | |
| 17 | 新增: </Style> | |
| 18 | 新增: | |
| 10 | 19 | <ResourceDictionary.MergedDictionaries> |
| 11 | 20 | <ResourceDictionary Source="/Tai;component/Resources/Themes/Light.xaml"/> |
| 12 | 21 | <ResourceDictionary Source="/Tai;component/Resources/Themes/Common.xaml"/> |

