Skip to content

Commit 0419f83

Browse files
authored
Feature: Updated the DataGrid header design (#12907)
1 parent 00097f4 commit 0419f83

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Files.App/UserControls/DataGridHeader.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
BasedOn="{StaticResource DefaultButtonStyle}"
1515
TargetType="Button">
1616
<Setter Property="CornerRadius" Value="0" />
17-
<Setter Property="BorderBrush" Value="Transparent" />
17+
<Setter Property="BorderThickness" Value="0" />
1818
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
19-
<Setter Property="Height" Value="34" />
2019
<Setter Property="HorizontalAlignment" Value="Stretch" />
2120
<Setter Property="VerticalAlignment" Value="Stretch" />
2221
<Setter Property="Background">
@@ -26,7 +25,7 @@
2625
</Setter>
2726
</Style>
2827

29-
<x:String x:Key="SortIconAscending">&#xE70E;</x:String>
28+
<x:String x:Key="SortIconAscending">&#xEDDB;</x:String>
3029
</UserControl.Resources>
3130

3231
<Grid>
@@ -48,7 +47,8 @@
4847
Grid.ColumnSpan="2"
4948
HorizontalAlignment="{x:Bind HorizontalContentAlignment}"
5049
FontSize="12"
51-
Foreground="{ThemeResource SystemControlForegroundBaseMediumBrush}"
50+
FontWeight="SemiBold"
51+
Foreground="{ThemeResource TextFillColorTertiaryBrush}"
5252
Text="{x:Bind Header, Mode=OneWay}"
5353
TextTrimming="CharacterEllipsis" />
5454
<FontIcon
@@ -57,8 +57,8 @@
5757
HorizontalAlignment="Center"
5858
VerticalAlignment="Center"
5959
FontFamily="{ThemeResource SymbolThemeFontFamily}"
60-
FontSize="12"
61-
Foreground="{ThemeResource SystemControlForegroundBaseMediumBrush}"
60+
FontSize="8"
61+
Foreground="{ThemeResource TextFillColorTertiaryBrush}"
6262
Glyph="{StaticResource SortIconAscending}"
6363
RenderTransformOrigin="0.5, 0.5"
6464
Visibility="Collapsed">

src/Files.App/Views/LayoutModes/DetailsLayoutBrowser.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
TargetType="toolkit:GridSplitter">
5656
<Setter Property="Background" Value="Transparent" />
5757
<Setter Property="Width" Value="12" />
58-
<Setter Property="Margin" Value="0,4,0,4" />
58+
<Setter Property="Margin" Value="0" />
5959
<Setter Property="Opacity" Value="0.8" />
6060
<Setter Property="Canvas.ZIndex" Value="1" />
6161
</Style>

0 commit comments

Comments
 (0)