Skip to content

Commit d90ec15

Browse files
committed
Fix margin consolidation
1 parent d7bbb84 commit d90ec15

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Rubberduck.Core/UI/Settings/InspectionSettings.xaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,22 +279,20 @@
279279
<DockPanel FlowDirection="LeftToRight">
280280
<StackPanel Orientation="Horizontal" DockPanel.Dock="Left">
281281
<Label Style="{StaticResource HeaderText}"
282-
Content="{Resx Key=CodeInspectionSettings_InspectionSeveritySettingsLabel, ResxName=Rubberduck.Resources.RubberduckUI}" Margin="5,5,0,5" Width="123" />
282+
Content="{Resx Key=CodeInspectionSettings_InspectionSeveritySettingsLabel, ResxName=Rubberduck.Resources.RubberduckUI}" Margin="5,5,0,5" Width="127" />
283283
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
284284
<StackPanel.Resources>
285-
<Style TargetType="FrameworkElement">
285+
<Style BasedOn="{StaticResource HeaderText}" TargetType="Label">
286286
<Setter Property="Margin" Value="0,5" />
287287
</Style>
288288
</StackPanel.Resources>
289289
<Label Content="-" />
290290
<Image Source="{StaticResource FilterImage}" Width="19" />
291-
<Label Style="{StaticResource HeaderText}"
292-
Content="{Resx Key=InspectionSettings_FilterByDescription, ResxName=Rubberduck.Resources.RubberduckUI}" />
291+
<Label Content="{Resx Key=InspectionSettings_FilterByDescription, ResxName=Rubberduck.Resources.RubberduckUI}" />
293292
<controls:SearchBox Width="100"
294293
Text="{Binding InspectionSettingsDescriptionFilter, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Height="26" />
295294
<Border Width="10" />
296-
<Label Style="{StaticResource HeaderText}"
297-
Content="{Resx Key=InspectionSettings_FilterBySeverity, ResxName=Rubberduck.Resources.RubberduckUI}" />
295+
<Label Content="{Resx Key=InspectionSettings_FilterBySeverity, ResxName=Rubberduck.Resources.RubberduckUI}" />
298296
<ComboBox Width="100"
299297
ItemsSource="{Binding SeverityFilters, UpdateSourceTrigger=PropertyChanged}"
300298
SelectedItem="{Binding SelectedSeverityFilter, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />

0 commit comments

Comments
 (0)