|
84 | 84 | <ColumnDefinition Width="*" /> |
85 | 85 | </Grid.ColumnDefinitions> |
86 | 86 |
|
87 | | - <Grid.RowDefinitions> |
88 | | - <RowDefinition Height="35" /> |
89 | | - <RowDefinition Height="Auto" /> |
90 | | - <RowDefinition Height="35" /> |
91 | | - <RowDefinition Height="35" /> |
92 | | - <RowDefinition Height="Auto" /> |
93 | | - <RowDefinition Height="Auto" /> |
94 | | - <RowDefinition Height="Auto" /> |
95 | | - <RowDefinition Height="Auto" /> |
96 | | - <RowDefinition Height="Auto" /> |
97 | | - <RowDefinition Height="Auto" /> |
98 | | - <RowDefinition Height="Auto" /> |
99 | | - </Grid.RowDefinitions> |
| 87 | + <Grid.RowDefinitions> |
| 88 | + <RowDefinition Height="35" /> |
| 89 | + <RowDefinition Height="*" /> |
| 90 | + <RowDefinition Height="35" /> |
| 91 | + <RowDefinition Height="Auto" /> |
| 92 | + <RowDefinition Height="*" /> |
| 93 | + <RowDefinition Height="Auto" /> |
| 94 | + <RowDefinition Height="Auto" /> |
| 95 | + <RowDefinition Height="Auto" /> |
| 96 | + <RowDefinition Height="Auto" /> |
| 97 | + <RowDefinition Height="Auto" /> |
| 98 | + <RowDefinition Height="Auto" /> |
| 99 | + </Grid.RowDefinitions> |
100 | 100 |
|
101 | 101 | <Label Grid.Row="0" |
102 | 102 | Grid.Column="0" |
|
107 | 107 | Grid.Column="1" |
108 | 108 | MaxLength="{x:Static ghfvs:Constants.MaxRepositoryNameLength}" |
109 | 109 | Text="{Binding RepositoryName, UpdateSourceTrigger=PropertyChanged}" |
110 | | - SpellCheck.IsEnabled="True" |
111 | 110 | AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.RepositoryNameTextBox}" /> |
112 | 111 |
|
113 | 112 | <StackPanel Grid.Row="1" Grid.Column="1"> |
114 | | - <ghfvs:ValidationMessage x:Name="nameValidationMessage" ValidatesControl="{Binding ElementName=nameText}" /> |
| 113 | + <ghfvs:ValidationMessage x:Name="nameValidationMessage" |
| 114 | + Style="{DynamicResource InlineValidationMessage}" |
| 115 | + ValidatesControl="{Binding ElementName=nameText}" |
| 116 | + ReactiveValidator="{Binding RepositoryNameValidator, Mode=OneWay}"/> |
| 117 | + |
115 | 118 | <ghfvs:ValidationMessage x:Name="safeRepositoryNameWarning" |
116 | 119 | ErrorAdornerTemplate="None" |
117 | 120 | Fill="#f39c12" |
118 | 121 | Icon="alert" |
119 | 122 | Style="{DynamicResource InlineValidationMessage}" |
120 | | - ValidatesControl="{Binding ElementName=nameText}" /> |
| 123 | + ValidatesControl="{Binding ElementName=nameText}" |
| 124 | + ReactiveValidator="{Binding SafeRepositoryNameWarningValidator, Mode=OneWay}" /> |
121 | 125 | </StackPanel> |
122 | 126 |
|
123 | 127 | <Label Grid.Row="2" |
|
162 | 166 | <ghfvs:ValidationMessage x:Name="pathValidationMessage" |
163 | 167 | Grid.Row="4" |
164 | 168 | Grid.Column="1" |
165 | | - ValidatesControl="{Binding ElementName=localPathText}" /> |
| 169 | + Style="{DynamicResource InlineValidationMessage}" |
| 170 | + ValidatesControl="{Binding ElementName=localPathText}" |
| 171 | + ReactiveValidator="{Binding BaseRepositoryPathValidator, Mode=OneWay}" /> |
166 | 172 |
|
167 | 173 | <Label Grid.Row="5" |
168 | 174 | Grid.Column="0" |
|
0 commit comments