|
259 | 259 | <Grid>
|
260 | 260 | <ScrollViewer>
|
261 | 261 | <StackPanel Margin="5,5,5,0" ScrollViewer.VerticalScrollBarVisibility="Auto">
|
262 |
| - <Label Background="DarkGray" |
| 262 | + <Label Background="DarkGray" |
263 | 263 | HorizontalContentAlignment="Stretch"
|
264 | 264 | Margin="0,0,0,3">
|
265 |
| - <Label.Style> |
266 |
| - <Style> |
267 |
| - <Style.Resources> |
268 |
| - <Style TargetType="{x:Type Border}"> |
269 |
| - <Setter Property="CornerRadius" Value="5"/> |
270 |
| - </Style> |
271 |
| - </Style.Resources> |
272 |
| - </Style> |
273 |
| - </Label.Style> |
274 |
| - <DockPanel Background="DarkGray" FlowDirection="LeftToRight"> |
275 |
| - <StackPanel Orientation="Horizontal" DockPanel.Dock="Left"> |
276 |
| - <Label Foreground="White" |
277 |
| - FontWeight="SemiBold" |
278 |
| - Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=CodeInspectionSettings_InspectionSeveritySettingsLabel}"> |
279 |
| - </Label> |
280 |
| - </StackPanel> |
281 |
| - <StackPanel Orientation="Horizontal" DockPanel.Dock="Right"> |
282 |
| - <Grid> |
283 |
| - <Grid.ColumnDefinitions> |
284 |
| - <ColumnDefinition Width="Auto"/> |
285 |
| - <ColumnDefinition MaxWidth="75"/> |
286 |
| - <ColumnDefinition MaxWidth="75"/> |
287 |
| - </Grid.ColumnDefinitions> |
288 |
| - <controls:LinkButton Grid.Column="1" Margin="2" |
289 |
| - Command="{Binding ImportButtonCommand}" |
290 |
| - Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SettingsCaption_ImportSettings}"/> |
291 |
| - <controls:LinkButton Grid.Column="2" Margin="2" |
292 |
| - Command="{Binding ExportButtonCommand}" |
293 |
| - Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SettingsCaption_ExportSettings}"/> |
294 |
| - </Grid> |
295 |
| - </StackPanel> |
296 |
| - <StackPanel Orientation="Horizontal" DockPanel.Dock="Right"> |
297 |
| - <Label Content="Description Filter"/> |
298 |
| - <TextBox MinWidth="75" |
299 |
| - Text="{Binding InspectionSettingsFilter, UpdateSourceTrigger=PropertyChanged}"/> |
| 265 | + <Label.Style> |
| 266 | + <Style> |
| 267 | + <Style.Resources> |
| 268 | + <Style TargetType="{x:Type Border}"> |
| 269 | + <Setter Property="CornerRadius" Value="5"/> |
| 270 | + </Style> |
| 271 | + </Style.Resources> |
| 272 | + </Style> |
| 273 | + </Label.Style> |
| 274 | + <DockPanel Background="DarkGray" FlowDirection="LeftToRight"> |
| 275 | + <StackPanel Orientation="Horizontal" DockPanel.Dock="Left"> |
| 276 | + <Label Foreground="White" |
| 277 | + FontWeight="SemiBold" |
| 278 | + Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=CodeInspectionSettings_InspectionSeveritySettingsLabel}"> |
| 279 | + </Label> |
| 280 | + </StackPanel> |
| 281 | + <StackPanel Orientation="Horizontal" DockPanel.Dock="Right" HorizontalAlignment="Left"> |
| 282 | + <controls:LinkButton |
| 283 | + Margin="2" |
| 284 | + Command="{Binding ImportButtonCommand}" |
| 285 | + Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SettingsCaption_ImportSettings}"/> |
| 286 | + <controls:LinkButton |
| 287 | + Margin="2" |
| 288 | + Command="{Binding ExportButtonCommand}" |
| 289 | + Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SettingsCaption_ExportSettings}"/> |
| 290 | + </StackPanel> |
| 291 | + <StackPanel Orientation="Horizontal" DockPanel.Dock="Right" HorizontalAlignment="Stretch"> |
| 292 | + <Label Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=InspectionSettings_FilterDescription}" /> |
| 293 | + <TextBox MinWidth="125" |
| 294 | + Text="{Binding InspectionSettingsFilter, UpdateSourceTrigger=PropertyChanged}" |
| 295 | + HorizontalAlignment="Stretch" /> |
300 | 296 | </StackPanel>
|
301 | 297 | </DockPanel>
|
302 | 298 | </Label>
|
|
0 commit comments