|
149 | 149 | SpellCheck.IsEnabled="True" |
150 | 150 | AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationTitleTextBox}"/> |
151 | 151 |
|
| 152 | + <ghfvs:PromptTextBox Grid.Row="2" |
| 153 | + MinHeight="100" |
| 154 | + Margin="10,5" |
| 155 | + AcceptsReturn="True" |
| 156 | + PromptText="{x:Static ghfvs:Resources.Description}" |
| 157 | + Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}" |
| 158 | + Style="{DynamicResource GitHubVsPromptTextBox}" |
| 159 | + VerticalScrollBarVisibility="Auto" |
| 160 | + TextWrapping="Wrap" |
| 161 | + SpellCheck.IsEnabled="True" |
| 162 | + AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationDescriptionTextBox}"/> |
| 163 | + |
152 | 164 | <ghfvs:AutoCompleteBox |
153 | | - x:Name="commitMessageTextBox" |
154 | | - ScrollViewer.CanContentScroll="False" |
155 | | - Margin="0" |
156 | | - HorizontalAlignment="Stretch" |
157 | | - TabIndex="0" |
158 | | - TextBoxStyle="{StaticResource GitHubPromptRichText}"> |
| 165 | + Grid.Row="3" |
| 166 | + MinHeight="100" |
| 167 | + Margin="10,5" |
| 168 | + Advisor="{Binding AutoCompleteAdvisor}" |
| 169 | + > |
159 | 170 | <ghfvs:AutoCompleteBox.ItemTemplate> |
160 | 171 | <DataTemplate> |
161 | 172 | <ghfvs:AutoCompleteSuggestionView ViewModel="{Binding}" /> |
162 | 173 | </DataTemplate> |
163 | 174 | </ghfvs:AutoCompleteBox.ItemTemplate> |
164 | 175 | <ghfvs:AutoCompleteBox.InputElement> |
165 | 176 | <ghfvs:TextBoxAutoCompleteTextInput> |
166 | | - <ghfvs:PromptTextBox Grid.Row="2" |
167 | | - MinHeight="100" |
168 | | - Margin="10,5" |
169 | | - AcceptsReturn="True" |
| 177 | + <ghfvs:PromptTextBox AcceptsReturn="True" |
170 | 178 | PromptText="{x:Static ghfvs:Resources.Description}" |
171 | 179 | Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}" |
172 | 180 | Style="{DynamicResource GitHubVsPromptTextBox}" |
173 | 181 | VerticalScrollBarVisibility="Auto" |
174 | 182 | TextWrapping="Wrap" |
175 | | - SpellCheck.IsEnabled="True" |
176 | | - AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationDescriptionTextBox}"/> |
| 183 | + SpellCheck.IsEnabled="True"/> |
177 | 184 | </ghfvs:TextBoxAutoCompleteTextInput> |
178 | 185 | </ghfvs:AutoCompleteBox.InputElement> |
179 | 186 | </ghfvs:AutoCompleteBox> |
|
0 commit comments