remove ugly border around expander buttons in grid settings dialog

This commit is contained in:
John Colvin authored and Michael Harding committed 2020-01-03 14:57:47 -05:00
1 parent 2e0780f5e8
commit 202e08f3d0
1 file changed
+6 -6
@@ -704,7 +704,7 @@
</Style>
</GroupBox.Style>
<GroupBox.Header>
<c:ExpanderToggleButton x:Name="GridExpanderToggle" IsChecked="True">
<c:ExpanderToggleButton x:Name="GridExpanderToggle" BorderThickness="0" IsChecked="True">
Grid
</c:ExpanderToggleButton>
</GroupBox.Header>
@@ -725,7 +725,7 @@
</GroupBox.Style>
<GroupBox.Header>
<StackPanel Orientation="Horizontal">
<c:ExpanderToggleButton x:Name="PredicateAnimationsExpanderToggle" IsChecked="{Binding show_predicate_animations}">
<c:ExpanderToggleButton x:Name="PredicateAnimationsExpanderToggle" BorderThickness="0" IsChecked="{Binding show_predicate_animations}">
Sound/Notification Triggers
</c:ExpanderToggleButton>
<TextBlock Margin="{StaticResource LeftPush}">
@@ -789,7 +789,7 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<c:ExpanderToggleButton x:Name="AnimationsExpanderToggle" IsChecked="{Binding show_animations}" Visibility="{Binding animations.Count, Converter={StaticResource IntNotZeroVisibilityConverter}}">
<c:ExpanderToggleButton x:Name="AnimationsExpanderToggle" BorderThickness="0" IsChecked="{Binding show_animations}" Visibility="{Binding animations.Count, Converter={StaticResource IntNotZeroVisibilityConverter}}">
Animations
</c:ExpanderToggleButton>
<TextBlock FontStyle="Italic" Foreground="Gray" Visibility="{Binding Visibility, ElementName=AnimationsExpanderToggle, Converter={StaticResource ReverseVisibilityConverter}}">
@@ -904,7 +904,7 @@
</Style>
</GroupBox.Style>
<GroupBox.Header>
<c:ExpanderToggleButton x:Name="ColumnsExpanderToggle" IsChecked="True">
<c:ExpanderToggleButton x:Name="ColumnsExpanderToggle" BorderThickness="0" IsChecked="True">
Columns
</c:ExpanderToggleButton>
</GroupBox.Header>
@@ -990,7 +990,7 @@
</GroupBox.Style>
<GroupBox.Header>
<StackPanel Orientation="Horizontal">
<c:ExpanderToggleButton x:Name="CellAnimationsExpanderToggle" IsChecked="{Binding show_cell_predicate_animations}">
<c:ExpanderToggleButton x:Name="CellAnimationsExpanderToggle" BorderThickness="0" IsChecked="{Binding show_cell_predicate_animations}">
<TextBlock Text="{Binding current_column.display_name, StringFormat='{}\'{0}\' Cell Animations'}"/>
</c:ExpanderToggleButton>
<TextBlock Margin="{StaticResource LeftPush}">
@@ -1050,7 +1050,7 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<c:ExpanderToggleButton x:Name="CellAnimationsExpanderToggle" IsChecked="{Binding show_animations}" Visibility="{Binding animations.Count, Converter={StaticResource IntNotZeroVisibilityConverter}}">
<c:ExpanderToggleButton x:Name="CellAnimationsExpanderToggle" BorderThickness="0" IsChecked="{Binding show_animations}" Visibility="{Binding animations.Count, Converter={StaticResource IntNotZeroVisibilityConverter}}">
Animations
</c:ExpanderToggleButton>
<TextBlock FontStyle="Italic" Foreground="Gray" Visibility="{Binding Visibility, ElementName=CellAnimationsExpanderToggle, Converter={StaticResource ReverseVisibilityConverter}}">