|
51 | 51 | <TextBlock Classes="tab_header" Text="{DynamicResource Text.Configure.Git}"/>
|
52 | 52 | </TabItem.Header>
|
53 | 53 |
|
54 |
| - <Grid Margin="16,4,16,8" RowDefinitions="32,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
| 54 | + <Grid Margin="16,4,16,8" RowDefinitions="32,32,32,32,32,32,32,32" ColumnDefinitions="Auto,*"> |
55 | 55 | <TextBlock Grid.Row="0" Grid.Column="0"
|
56 | 56 | HorizontalAlignment="Right" VerticalAlignment="Center"
|
57 | 57 | Margin="0,0,8,0"
|
|
72 | 72 | CornerRadius="3"
|
73 | 73 | Watermark="{DynamicResource Text.Configure.Email.Placeholder}"
|
74 | 74 | Text="{Binding UserEmail, Mode=TwoWay}"/>
|
75 |
| - |
| 75 | + |
76 | 76 | <TextBlock Grid.Row="2" Grid.Column="0"
|
| 77 | + HorizontalAlignment="Right" VerticalAlignment="Center" |
| 78 | + Margin="0,0,8,0" |
| 79 | + Text="{DynamicResource Text.Configure.Git.DefaultRemote}"/> |
| 80 | + <ComboBox Grid.Row="2" Grid.Column="1" |
| 81 | + Height="28" Padding="8,0" |
| 82 | + VerticalAlignment="Center" HorizontalAlignment="Stretch" |
| 83 | + ItemsSource="{Binding Remotes}" |
| 84 | + SelectedItem="{Binding DefaultRemote, Mode=TwoWay}"> |
| 85 | + <ComboBox.ItemTemplate> |
| 86 | + <DataTemplate> |
| 87 | + <StackPanel Orientation="Horizontal" Height="20" VerticalAlignment="Center"> |
| 88 | + <Path Margin="0,6,8,0" Width="14" Height="14" Fill="{DynamicResource Brush.FG1}" Data="{StaticResource Icons.Remote}"/> |
| 89 | + <TextBlock Text="{Binding}"/> |
| 90 | + </StackPanel> |
| 91 | + </DataTemplate> |
| 92 | + </ComboBox.ItemTemplate> |
| 93 | + </ComboBox> |
| 94 | + |
| 95 | + <TextBlock Grid.Row="3" Grid.Column="0" |
77 | 96 | HorizontalAlignment="Right" VerticalAlignment="Center"
|
78 | 97 | Margin="0,0,8,0"
|
79 | 98 | Text="{DynamicResource Text.Configure.Proxy}"/>
|
80 |
| - <TextBox Grid.Row="2" Grid.Column="1" |
| 99 | + <TextBox Grid.Row="3" Grid.Column="1" |
81 | 100 | Height="28"
|
82 | 101 | CornerRadius="3"
|
83 | 102 | Watermark="{DynamicResource Text.Configure.Proxy.Placeholder}"
|
|
89 | 108 | </TextBox.InnerRightContent>
|
90 | 109 | </TextBox>
|
91 | 110 |
|
92 |
| - <TextBlock Grid.Row="3" Grid.Column="0" |
| 111 | + <TextBlock Grid.Row="4" Grid.Column="0" |
93 | 112 | HorizontalAlignment="Right" VerticalAlignment="Center"
|
94 | 113 | Margin="0,0,8,0"
|
95 | 114 | Text="{DynamicResource Text.Preference.GPG.UserKey}"/>
|
96 |
| - <TextBox Grid.Row="3" Grid.Column="1" |
| 115 | + <TextBox Grid.Row="4" Grid.Column="1" |
97 | 116 | Height="28"
|
98 | 117 | CornerRadius="3"
|
99 | 118 | Watermark="{DynamicResource Text.Preference.GPG.UserKey.Placeholder}"
|
100 | 119 | Text="{Binding GPGUserSigningKey, Mode=TwoWay}"/>
|
101 | 120 |
|
102 |
| - <CheckBox Grid.Row="4" Grid.Column="1" |
| 121 | + <CheckBox Grid.Row="5" Grid.Column="1" |
103 | 122 | Content="{DynamicResource Text.Preference.GPG.CommitEnabled}"
|
104 | 123 | IsChecked="{Binding GPGCommitSigningEnabled, Mode=TwoWay}"/>
|
105 | 124 |
|
106 |
| - <CheckBox Grid.Row="5" Grid.Column="1" |
| 125 | + <CheckBox Grid.Row="6" Grid.Column="1" |
107 | 126 | Content="{DynamicResource Text.Preference.GPG.TagEnabled}"
|
108 | 127 | IsChecked="{Binding GPGTagSigningEnabled, Mode=TwoWay}"/>
|
109 | 128 |
|
110 |
| - <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal"> |
| 129 | + <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal"> |
111 | 130 | <CheckBox x:Name="AutoFetchCheckBox"
|
112 | 131 | Content="{DynamicResource Text.Configure.Git.AutoFetch}"
|
113 | 132 | IsChecked="{Binding EnableAutoFetch, Mode=TwoWay}"/>
|
|
0 commit comments