ui (pnl): Drop border between group/section headers

It needlessly clutters the ui, since the contrasting backgrounds already
illustrate the distinction
This commit is contained in:
John Colvin committed 2022-08-22 16:55:18 -04:00
1 parent 4f2be64813
commit b222cd3e55
1 file changed
+3 -3
@@ -535,7 +535,7 @@
<Grid.Background>
<SolidColorBrush Color="{Binding total_aggregate.background_color}"/>
</Grid.Background>
<Rectangle Grid.ColumnSpan="99" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Fill="Gray"/>
<TextBlock Style="{StaticResource HeaderRowHeaderText}">
<TextBlock.Text>
<MultiBinding Converter="{x:Static pnl:PNLView.TotalHeaderRowDisplayTextConverter}">
@@ -604,7 +604,7 @@
<Grid.Background>
<SolidColorBrush Color="{Binding selected_aggregate.background_color}"/>
</Grid.Background>
<Rectangle Grid.ColumnSpan="99" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="1" Fill="Gray"/>
<TextBlock Text="{Binding selected_rows.Count, StringFormat='Selected ({0})'}" Style="{StaticResource HeaderRowHeaderText}"/>
<!--SOD-->
<c:TextCell c:DIYGrid.ColumnKey="SODPNL" DataContext="{Binding selected_aggregate.sod_pnl}" Style="{StaticResource HeaderRowTextCell}"/>
@@ -1300,7 +1300,7 @@
<RowDefinition Height="{Binding RowHeight, RelativeSource={RelativeSource AncestorType=c:DIYGrid}, Converter={StaticResource GroupRowHeightConverter}}"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Rectangle Grid.ColumnSpan="99" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stroke="Gray" StrokeThickness="1"/>
<!--Expander, Selector Toggle-->
<Grid c:DIYGrid.ColumnKey="{Binding Path='(c:DIYGrid.ColumnKey)', RelativeSource={RelativeSource AncestorType=GroupItem}}">
<Grid.ColumnDefinitions>