|
121 | 121 | <TabItem.Header>
|
122 | 122 | <TextBlock Classes="tab_header" Text="{DynamicResource Text.Preference.Appearance}"/>
|
123 | 123 | </TabItem.Header>
|
124 |
| - <Grid Margin="8" RowDefinitions="32,32,32,32,32,32,32,32,Auto" ColumnDefinitions="Auto,*"> |
| 124 | + <Grid Margin="8" RowDefinitions="32,32,32,32,32,32,32,Auto" ColumnDefinitions="Auto,*"> |
125 | 125 | <TextBlock Grid.Row="0" Grid.Column="0"
|
126 | 126 | Text="{DynamicResource Text.Preference.Appearance.Theme}"
|
127 | 127 | HorizontalAlignment="Right"
|
|
158 | 158 | Text="{Binding MonospaceFontFamily, Mode=TwoWay}"/>
|
159 | 159 |
|
160 | 160 | <TextBlock Grid.Row="3" Grid.Column="0"
|
161 |
| - Text="{DynamicResource Text.Preference.Appearance.DefaultFontSize}" |
| 161 | + Text="{DynamicResource Text.Preference.Appearance.FontSize}" |
162 | 162 | HorizontalAlignment="Right"
|
163 | 163 | Margin="0,0,16,0"/>
|
164 |
| - <NumericUpDown Grid.Row="3" Grid.Column="1" |
| 164 | + <Grid Grid.Row="3" Grid.Column="1" ColumnDefinitions="*,8,*"> |
| 165 | + <NumericUpDown Grid.Column="0" |
165 | 166 | Minimum="10" Maximum="18" Increment="0.5"
|
166 | 167 | Height="28"
|
167 | 168 | Padding="4"
|
168 | 169 | BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}"
|
169 | 170 | CornerRadius="3"
|
170 |
| - Value="{Binding DefaultFontSize, Mode=TwoWay}"/> |
| 171 | + Value="{Binding DefaultFontSize, Mode=TwoWay}"> |
| 172 | + <NumericUpDown.InnerLeftContent> |
| 173 | + <Border BorderThickness="0,0,1,0" BorderBrush="{DynamicResource Brush.Border1}"> |
| 174 | + <TextBlock Margin="4,0" Text="{DynamicResource Text.Preference.Appearance.FontSize.Default}"/> |
| 175 | + </Border> |
| 176 | + </NumericUpDown.InnerLeftContent> |
| 177 | + </NumericUpDown> |
| 178 | + <NumericUpDown Grid.Column="2" |
| 179 | + Minimum="10" Maximum="18" Increment="0.5" |
| 180 | + Height="28" |
| 181 | + Padding="4" |
| 182 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 183 | + CornerRadius="3" |
| 184 | + Value="{Binding EditorFontSize, Mode=TwoWay}"> |
| 185 | + <NumericUpDown.InnerLeftContent> |
| 186 | + <Border BorderThickness="0,0,1,0" BorderBrush="{DynamicResource Brush.Border1}"> |
| 187 | + <TextBlock Margin="4,0" Text="{DynamicResource Text.Preference.Appearance.FontSize.Editor}"/> |
| 188 | + </Border> |
| 189 | + </NumericUpDown.InnerLeftContent> |
| 190 | + </NumericUpDown> |
| 191 | + </Grid> |
171 | 192 |
|
172 | 193 | <TextBlock Grid.Row="4" Grid.Column="0"
|
173 |
| - Text="{DynamicResource Text.Preference.Appearance.EditorFontSize}" |
174 |
| - HorizontalAlignment="Right" |
175 |
| - Margin="0,0,16,0"/> |
176 |
| - <NumericUpDown Grid.Row="4" Grid.Column="1" |
177 |
| - Minimum="10" Maximum="18" Increment="0.5" |
178 |
| - Height="28" |
179 |
| - Padding="4" |
180 |
| - BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
181 |
| - CornerRadius="3" |
182 |
| - Value="{Binding EditorFontSize, Mode=TwoWay}"/> |
183 |
| - |
184 |
| - <TextBlock Grid.Row="5" Grid.Column="0" |
185 | 194 | Text="{DynamicResource Text.Preference.Appearance.ThemeOverrides}"
|
186 | 195 | HorizontalAlignment="Right"
|
187 | 196 | Margin="0,0,16,0"/>
|
188 |
| - <TextBox Grid.Row="5" Grid.Column="1" |
| 197 | + <TextBox Grid.Row="4" Grid.Column="1" |
189 | 198 | Height="28"
|
190 | 199 | CornerRadius="3"
|
191 | 200 | Text="{Binding ThemeOverrides, Mode=TwoWay}">
|
|
196 | 205 | </TextBox.InnerRightContent>
|
197 | 206 | </TextBox>
|
198 | 207 |
|
199 |
| - <CheckBox Grid.Row="6" Grid.Column="1" |
| 208 | + <CheckBox Grid.Row="5" Grid.Column="1" |
200 | 209 | Content="{DynamicResource Text.Preference.Appearance.OnlyUseMonoFontInEditor}"
|
201 | 210 | IsChecked="{Binding OnlyUseMonoFontInEditor, Mode=TwoWay}"/>
|
202 | 211 |
|
203 |
| - <CheckBox Grid.Row="7" Grid.Column="1" |
| 212 | + <CheckBox Grid.Row="6" Grid.Column="1" |
204 | 213 | Height="32"
|
205 | 214 | Content="{DynamicResource Text.Preference.Appearance.UseFixedTabWidth}"
|
206 | 215 | IsChecked="{Binding Source={x:Static vm:Preference.Instance}, Path=UseFixedTabWidth, Mode=TwoWay}"/>
|
207 | 216 |
|
208 |
| - <CheckBox Grid.Row="8" Grid.Column="1" |
| 217 | + <CheckBox Grid.Row="7" Grid.Column="1" |
209 | 218 | Height="32"
|
210 | 219 | Content="{DynamicResource Text.Preference.Appearance.UseNativeWindowFrame}"
|
211 | 220 | IsChecked="{Binding Source={x:Static vm:Preference.Instance}, Path=UseSystemWindowFrame, Mode=OneTime}"
|
|
0 commit comments