|
231 | 231 | <TextBlock Classes="tab_header" Text="{DynamicResource Text.Preference.Git}"/>
|
232 | 232 | </TabItem.Header>
|
233 | 233 |
|
234 |
| - <Grid Margin="8" RowDefinitions="32,32,Auto,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
| 234 | + <Grid Margin="8" RowDefinitions="32,32,Auto,32,32,32,32,32,Auto" ColumnDefinitions="Auto,*"> |
235 | 235 | <TextBlock Grid.Row="0" Grid.Column="0"
|
236 | 236 | Text="{DynamicResource Text.Preference.Git.Path}"
|
237 | 237 | HorizontalAlignment="Right"
|
|
357 | 357 | Text="{DynamicResource Text.Preference.Git.AutoFetchInterval}"
|
358 | 358 | HorizontalAlignment="Right"
|
359 | 359 | Margin="0,0,16,0"/>
|
360 |
| - <Grid Grid.Row="8" Grid.Column="1" ColumnDefinitions="*,Auto" IsVisible="{Binding GitAutoFetch}"> |
| 360 | + <Grid Grid.Row="8" Grid.Column="1" Height="32" ColumnDefinitions="*,Auto" IsVisible="{Binding GitAutoFetch}"> |
361 | 361 | <NumericUpDown Grid.Column="0"
|
362 | 362 | Minimum="1" Maximum="60" Increment="1"
|
363 | 363 | Height="28"
|
|
367 | 367 | ParsingNumberStyle="Integer"
|
368 | 368 | FormatString="0"
|
369 | 369 | Value="{Binding GitAutoFetchInterval, Mode=TwoWay, FallbackValue=10}">
|
| 370 | + <NumericUpDown.Styles> |
| 371 | + <Style Selector="NumericUpDown /template/ ButtonSpinner#PART_Spinner"> |
| 372 | + <Setter Property="MinHeight" Value="0"/> |
| 373 | + <Setter Property="Height" Value="28"/> |
| 374 | + </Style> |
| 375 | + <Style Selector="NumericUpDown /template/ TextBox#PART_TextBox"> |
| 376 | + <Setter Property="MinHeight" Value="0"/> |
| 377 | + <Setter Property="Height" Value="28"/> |
| 378 | + <Setter Property="VerticalContentAlignment" Value="Center"/> |
| 379 | + <Setter Property="CornerRadius" Value="3,0,0,3"/> |
| 380 | + </Style> |
| 381 | + </NumericUpDown.Styles> |
370 | 382 | </NumericUpDown>
|
| 383 | + |
371 | 384 | <TextBlock Grid.Column="1"
|
372 | 385 | VerticalAlignment="Center"
|
373 | 386 | Margin="5,0,0,0"
|
374 |
| - Text="min (1-60)" /> |
| 387 | + Text="{DynamicResource Text.Preference.Git.AutoFetchIntervalSuffix}" /> |
375 | 388 | </Grid>
|
376 | 389 | </Grid>
|
377 | 390 | </TabItem>
|
|
0 commit comments