|
44 | 44 | <TextBlock Classes="tab_header" Text="{DynamicResource Text.Configure.Git}"/>
|
45 | 45 | </TabItem.Header>
|
46 | 46 |
|
47 |
| - <Grid Margin="16,4,16,8" RowDefinitions="32,32,32,32,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
| 47 | + <Grid Margin="16,4,16,8" RowDefinitions="32,32,32,32,32,32,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
48 | 48 | <TextBlock Grid.Row="0" Grid.Column="0"
|
49 | 49 | HorizontalAlignment="Right" VerticalAlignment="Center"
|
50 | 50 | Margin="0,0,8,0"
|
|
178 | 178 | Margin="5,0,0,0"
|
179 | 179 | Text="{DynamicResource Text.Configure.Git.AutoFetchIntervalSuffix}" />
|
180 | 180 | </StackPanel>
|
| 181 | + |
| 182 | + <Grid Grid.Row="10" Grid.Column="1"> |
| 183 | + <CheckBox x:Name="FetchDepthCheckBox" |
| 184 | + Content="{DynamicResource Text.Configure.Git.FetchDepth}" |
| 185 | + IsChecked="{Binding EnableFetchDepth, Mode=TwoWay}"/> |
| 186 | + |
| 187 | + <NumericUpDown Minimum="1" Increment="1" |
| 188 | + Height="26" Width="220" |
| 189 | + Margin="8,0,0,0" Padding="4" |
| 190 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 191 | + CornerRadius="3" |
| 192 | + ParsingNumberStyle="Integer" |
| 193 | + FormatString="0" |
| 194 | + Value="{Binding FetchDepthValue, Mode=TwoWay, FallbackValue=1}" |
| 195 | + IsEnabled="{Binding #FetchDepthCheckBox.IsChecked}" |
| 196 | + HorizontalAlignment="Right"/> |
| 197 | + </Grid> |
| 198 | + |
| 199 | + <Grid Grid.Row="11" Grid.Column="1"> |
| 200 | + <CheckBox x:Name="PullDepthCheckBox" |
| 201 | + Content="{DynamicResource Text.Configure.Git.PullDepth}" |
| 202 | + IsChecked="{Binding EnablePullDepth, Mode=TwoWay}"/> |
| 203 | + |
| 204 | + <NumericUpDown Minimum="1" Increment="1" |
| 205 | + Height="26" Width="220" |
| 206 | + Margin="8,0,0,0" Padding="4" |
| 207 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 208 | + CornerRadius="3" |
| 209 | + ParsingNumberStyle="Integer" |
| 210 | + FormatString="0" |
| 211 | + Value="{Binding PullDepthValue, Mode=TwoWay, FallbackValue=1}" |
| 212 | + IsEnabled="{Binding #PullDepthCheckBox.IsChecked}" |
| 213 | + HorizontalAlignment="Right"/> |
| 214 | + </Grid> |
181 | 215 | </Grid>
|
182 | 216 | </TabItem>
|
183 | 217 |
|
|
0 commit comments