Skip to content

Commit

Permalink
Fix: Fixed column alignment in details layout (#12570)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Jun 8, 2023
1 parent 9b4d87e commit 2f9efb4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/Files.App/Views/LayoutModes/DetailsLayoutBrowser.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@
</Grid.ColumnDefinitions>
<TextBlock
x:Name="ItemName"
Padding="6,0,0,0"
VerticalAlignment="Center"
IsTextTrimmedChanged="TextBlock_IsTextTrimmedChanged"
Opacity="{x:Bind Opacity, Mode=OneWay}"
Expand Down Expand Up @@ -717,7 +718,7 @@
<TextBlock
x:Name="ItemOriginalPath"
Width="{Binding ColumnsViewModel.OriginalPathColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
x:Load="{x:Bind IsRecycleBinItem}"
Expand All @@ -729,7 +730,7 @@
<TextBlock
x:Name="ItemDateDeleted"
Width="{Binding ColumnsViewModel.DateDeletedColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
x:Load="{x:Bind IsRecycleBinItem}"
Expand All @@ -741,7 +742,7 @@
<TextBlock
x:Name="ItemDateModified"
Width="{Binding ColumnsViewModel.DateModifiedColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
IsTextTrimmedChanged="TextBlock_IsTextTrimmedChanged"
Expand All @@ -752,7 +753,7 @@
<TextBlock
x:Name="ItemDateCreated"
Width="{Binding ColumnsViewModel.DateCreatedColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
IsTextTrimmedChanged="TextBlock_IsTextTrimmedChanged"
Expand All @@ -763,7 +764,7 @@
<TextBlock
x:Name="ItemType"
Width="{Binding ColumnsViewModel.ItemTypeColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
IsTextTrimmedChanged="TextBlock_IsTextTrimmedChanged"
Expand All @@ -774,7 +775,7 @@
<TextBlock
x:Name="ItemSize"
Width="{Binding ColumnsViewModel.SizeColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Padding="12,0,0,0"
Padding="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
IsTextTrimmedChanged="TextBlock_IsTextTrimmedChanged"
Expand All @@ -785,7 +786,7 @@
<FontIcon
x:Name="ItemStatus"
Width="{Binding ColumnsViewModel.StatusColumn.LengthIncludingGridSplitter.Value, ElementName=PageRoot, Mode=OneWay}"
Margin="12,0,0,0"
Margin="10,0,0,0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
AutomationProperties.Name="{x:Bind SyncStatusString, Mode=OneWay}"
Expand Down

0 comments on commit 2f9efb4

Please sign in to comment.