|
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" ColumnDefinitions="Auto,*"> |
| 234 | + <Grid Margin="8" RowDefinitions="32,32,Auto,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
235 | 235 | <TextBlock Grid.Row="0" Grid.Column="0"
|
236 | 236 | Text="{DynamicResource Text.Preference.Git.Path}"
|
237 | 237 | HorizontalAlignment="Right"
|
|
351 | 351 | <CheckBox Grid.Row="7" Grid.Column="1"
|
352 | 352 | Content="{DynamicResource Text.Preference.Git.AutoFetch}"
|
353 | 353 | IsChecked="{Binding GitAutoFetch, Mode=TwoWay}"/>
|
| 354 | + |
| 355 | + <TextBlock Grid.Row="8" Grid.Column="0" |
| 356 | + IsVisible="{Binding GitAutoFetch}" |
| 357 | + Text="{DynamicResource Text.Preference.Git.AutoFetchInterval}" |
| 358 | + HorizontalAlignment="Right" |
| 359 | + Margin="0,0,16,0"/> |
| 360 | + <Grid Grid.Row="8" Grid.Column="1" ColumnDefinitions="*,Auto" IsVisible="{Binding GitAutoFetch}"> |
| 361 | + <NumericUpDown Grid.Column="0" |
| 362 | + Minimum="1" Maximum="60" Increment="1" |
| 363 | + Height="28" |
| 364 | + Padding="4" |
| 365 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 366 | + CornerRadius="3" |
| 367 | + ParsingNumberStyle="Integer" |
| 368 | + FormatString="0" |
| 369 | + Value="{Binding GitAutoFetchInterval, Mode=TwoWay, FallbackValue=10}"> |
| 370 | + </NumericUpDown> |
| 371 | + <TextBlock Grid.Column="1" |
| 372 | + VerticalAlignment="Center" |
| 373 | + Margin="5,0,0,0" |
| 374 | + Text="min (1-60)" /> |
| 375 | + </Grid> |
354 | 376 | </Grid>
|
355 | 377 | </TabItem>
|
356 | 378 |
|
|
0 commit comments