|
1 | 1 | <Application
|
2 | 2 | x:Class="v2rayN.App"
|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
4 |
| - xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
5 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
6 | 5 | xmlns:conv="clr-namespace:v2rayN.Converters"
|
| 6 | + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
7 | 7 | ShutdownMode="OnExplicitShutdown"
|
8 | 8 | StartupUri="Views/MainWindow.xaml">
|
9 | 9 | <Application.Resources>
|
|
18 | 18 | <system:Double x:Key="MenuItemHeight">26</system:Double>
|
19 | 19 | <system:Double x:Key="StdFontSize">12</system:Double>
|
20 | 20 | <system:Double x:Key="StdFontSize1">13</system:Double>
|
21 |
| - <system:Double x:Key="StdFontSize2">14</system:Double> |
22 |
| - <system:Double x:Key="StdFontSizeMsg">11</system:Double> |
23 | 21 | <system:Double x:Key="StdFontSize-1">11</system:Double>
|
24 | 22 |
|
25 | 23 | <conv:InverseBooleanConverter x:Key="InverseBooleanConverter" />
|
|
69 | 67 | x:Key="ModuleTitle"
|
70 | 68 | BasedOn="{StaticResource MaterialDesignTextBlock}"
|
71 | 69 | TargetType="{x:Type TextBlock}">
|
72 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize2}" /> |
| 70 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
73 | 71 | </Style>
|
74 | 72 | <Style
|
75 | 73 | x:Key="ToolbarTextBlock"
|
|
121 | 119 | x:Key="DefButton"
|
122 | 120 | BasedOn="{StaticResource MaterialDesignRaisedButton}"
|
123 | 121 | TargetType="{x:Type ButtonBase}">
|
124 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
| 122 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
125 | 123 | </Style>
|
126 | 124 | <Style
|
127 | 125 | x:Key="DefContextMenu"
|
128 | 126 | BasedOn="{StaticResource MaterialDesignContextMenu}"
|
129 | 127 | TargetType="{x:Type ContextMenu}">
|
130 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
| 128 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
131 | 129 | <Setter Property="FontFamily" Value="{x:Static conv:MaterialDesignFonts.MyFont}" />
|
132 | 130 | </Style>
|
133 | 131 |
|
134 | 132 | <Style
|
135 | 133 | x:Key="ToolbarMenu"
|
136 | 134 | BasedOn="{StaticResource MaterialDesignMenu}"
|
137 | 135 | TargetType="{x:Type Menu}">
|
138 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
| 136 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
139 | 137 | <Setter Property="FontFamily" Value="{x:Static conv:MaterialDesignFonts.MyFont}" />
|
140 | 138 | </Style>
|
141 | 139 |
|
|
185 | 183 | <Setter Property="Padding" Value="{StaticResource OutlinedTextBoxDefaultPadding}" />
|
186 | 184 | </Style>
|
187 | 185 | <Style x:Key="ListItemChip" TargetType="{x:Type materialDesign:Chip}">
|
188 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
| 186 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
189 | 187 | </Style>
|
190 | 188 | <Style
|
191 | 189 | x:Key="ListItemTitle"
|
192 | 190 | BasedOn="{StaticResource MaterialDesignTextBlock}"
|
193 | 191 | TargetType="{x:Type TextBlock}">
|
194 |
| - <Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
| 192 | + <Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
195 | 193 | </Style>
|
196 | 194 | <Style
|
197 | 195 | x:Key="ListItemSubTitle"
|
|
0 commit comments