|
189 | 189 | <Grid.ColumnDefinitions> |
190 | 190 | <ColumnDefinition MaxWidth="320" MinWidth="118"/> |
191 | 191 | <ColumnDefinition Width="auto" /> |
192 | | - <ColumnDefinition MaxWidth="125" /> |
193 | | - <ColumnDefinition MaxWidth="150"/> |
| 192 | + <ColumnDefinition Width="*" /> |
194 | 193 | </Grid.ColumnDefinitions> |
195 | 194 | <!-- container of the search control --> |
196 | 195 | <Border |
|
218 | 217 | Width="16" /> |
219 | 218 | </Button> |
220 | 219 |
|
221 | | - <!-- prerelease checkbox --> |
222 | | - <CheckBox |
| 220 | + <!-- grid for filters --> |
| 221 | + <Grid |
223 | 222 | Grid.Column="2" |
224 | | - x:Name="_checkboxPrerelease" |
225 | | - AutomationProperties.AutomationId="CheckBox_Prerelease" |
226 | | - Margin="3,0" |
227 | 223 | VerticalAlignment="Center" |
228 | | - Foreground="{DynamicResource {x:Static nuget:Brushes.UIText}}" |
229 | | - VerticalContentAlignment="Center" |
230 | | - Checked="_checkboxPrerelease_Checked" |
231 | | - Unchecked="_checkboxPrerelease_Unchecked" |
232 | | - IsChecked="True"> |
233 | | - <TextBlock TextTrimming="CharacterEllipsis" Text="{x:Static nuget:Resources.Checkbox_IncludePrerelease}" /> |
234 | | - </CheckBox> |
| 224 | + HorizontalAlignment="Left"> |
235 | 225 |
|
236 | | - <!-- show vulnerabilities checkbox --> |
237 | | - <CheckBox |
238 | | - Grid.Column="3" |
239 | | - x:Name="_checkboxVulnerabilities" |
240 | | - AutomationProperties.AutomationId="CheckBox_Vulnerabilities" |
241 | | - Margin="3,0" |
242 | | - VerticalAlignment="Center" |
243 | | - Foreground="{DynamicResource {x:Static nuget:Brushes.UIText}}" |
244 | | - VerticalContentAlignment="Center" |
245 | | - Checked="_checkboxVulnerabilities_Checked" |
246 | | - Unchecked="_checkboxVulnerabilities_Unchecked" |
247 | | - Visibility="Hidden" |
248 | | - IsChecked="False"> |
249 | | - <TextBlock TextTrimming="CharacterEllipsis" Text="{x:Static nuget:Resources.Checkbox_Show_Vulnerable_Only}" /> |
250 | | - </CheckBox> |
| 226 | + <Grid.ColumnDefinitions> |
| 227 | + <ColumnDefinition Width="*" /> |
| 228 | + <ColumnDefinition Width="*" /> |
| 229 | + </Grid.ColumnDefinitions> |
| 230 | + |
| 231 | + <!-- prerelease checkbox --> |
| 232 | + <CheckBox |
| 233 | + Grid.Column="0" |
| 234 | + x:Name="_checkboxPrerelease" |
| 235 | + AutomationProperties.AutomationId="CheckBox_Prerelease" |
| 236 | + Margin="3,0" |
| 237 | + VerticalAlignment="Center" |
| 238 | + Foreground="{DynamicResource {x:Static nuget:Brushes.UIText}}" |
| 239 | + VerticalContentAlignment="Center" |
| 240 | + Checked="_checkboxPrerelease_Checked" |
| 241 | + Unchecked="_checkboxPrerelease_Unchecked" |
| 242 | + IsChecked="True" |
| 243 | + ToolTip="{x:Static nuget:Resources.Checkbox_IncludePrerelease}"> |
| 244 | + <TextBlock TextTrimming="CharacterEllipsis" Text="{x:Static nuget:Resources.Checkbox_IncludePrerelease}" /> |
| 245 | + </CheckBox> |
| 246 | + |
| 247 | + <!-- show vulnerabilities checkbox --> |
| 248 | + <CheckBox |
| 249 | + Grid.Column="1" |
| 250 | + x:Name="_checkboxVulnerabilities" |
| 251 | + AutomationProperties.AutomationId="CheckBox_Vulnerabilities" |
| 252 | + Margin="3,0" |
| 253 | + VerticalAlignment="Center" |
| 254 | + Foreground="{DynamicResource {x:Static nuget:Brushes.UIText}}" |
| 255 | + VerticalContentAlignment="Center" |
| 256 | + Checked="_checkboxVulnerabilities_Checked" |
| 257 | + Unchecked="_checkboxVulnerabilities_Unchecked" |
| 258 | + Visibility="Hidden" |
| 259 | + IsChecked="False" |
| 260 | + ToolTip="{x:Static nuget:Resources.Checkbox_Show_Vulnerable_Only}"> |
| 261 | + <TextBlock TextTrimming="CharacterEllipsis" Text="{x:Static nuget:Resources.Checkbox_Show_Vulnerable_Only}" /> |
| 262 | + </CheckBox> |
| 263 | + </Grid> |
251 | 264 | </Grid> |
| 265 | + |
252 | 266 | <Grid |
253 | | - Grid.Column="2" |
| 267 | + Grid.Column="1" |
254 | 268 | VerticalAlignment="Center" |
255 | 269 | HorizontalAlignment="Right"> |
256 | 270 |
|
|
0 commit comments