Skip to content

Commit f1156db

Browse files
committed
Fix: Requested changes
1 parent ca3519f commit f1156db

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/Files.App/Views/Properties/DetailsPage.xaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,27 @@
2121
<ScrollViewer>
2222
<Grid Padding="12">
2323

24+
<!-- Details Expander List -->
2425
<ListView
2526
x:Name="MainList"
2627
HorizontalAlignment="Stretch"
2728
ItemsSource="{x:Bind ViewModel.PropertySections, Mode=OneWay}"
2829
SelectionMode="None">
2930

31+
<!-- Style -->
32+
<ListView.ItemContainerStyle>
33+
<Style TargetType="ListViewItem">
34+
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
35+
<Setter Property="Padding" Value="0,2,0,2" />
36+
</Style>
37+
</ListView.ItemContainerStyle>
38+
39+
<!-- Item Template -->
3040
<ListView.ItemTemplate>
3141
<DataTemplate x:DataType="vm:FilePropertySection">
3242
<Expander
3343
HorizontalAlignment="Stretch"
3444
HorizontalContentAlignment="Stretch"
35-
CornerRadius="4"
3645
Header="{x:Bind Title}"
3746
IsExpanded="True">
3847

@@ -88,13 +97,7 @@
8897
</DataTemplate>
8998
</ListView.ItemTemplate>
9099

91-
<ListView.ItemContainerStyle>
92-
<Style TargetType="ListViewItem">
93-
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
94-
<Setter Property="Padding" Value="0,2,0,2" />
95-
</Style>
96-
</ListView.ItemContainerStyle>
97-
100+
<!-- Footer -->
98101
<ListView.Footer>
99102
<Button
100103
x:Name="ClearPropertiesButton"

src/Files.App/Views/Properties/GeneralPage.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@
306306
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
307307
BorderThickness="1"
308308
ColumnSpacing="8"
309-
CornerRadius="4"
310309
RowSpacing="8">
311310
<Grid.ColumnDefinitions>
312311
<ColumnDefinition Width="72" />

0 commit comments

Comments
 (0)