Skip to content

Commit 7a664f8

Browse files
committed
Use StorageBar
1 parent d4b1a90 commit 7a664f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Files.App.Controls/Storage/StorageBar/StorageBar.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<Setter Property="TrackBarHeight" Value="{ThemeResource StorageBarTrackHeight}" />
1717
<Setter Property="CornerRadius" Value="{ThemeResource StorageBarCornerRadius}" />
1818
<Setter Property="VerticalAlignment" Value="Center" />
19-
<Setter Property="Width" Value="240" />
2019
<Setter Property="Minimum" Value="0" />
2120
<Setter Property="Maximum" Value="100" />
2221
<Setter Property="MinWidth" Value="32" />

src/Files.App/UserControls/Pane/InfoPane.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,11 @@
267267
TextAlignment="Center"
268268
TextWrapping="Wrap"
269269
Visibility="Collapsed" />
270-
<ProgressBar
270+
<controls:StorageBar
271271
x:Name="DriveSpaceProgressBar"
272-
Margin="12,12,12,8"
272+
Margin="8,8,8,8"
273273
HorizontalAlignment="Stretch"
274+
TrackBarHeight="6"
274275
Visibility="Collapsed"
275276
Value="{x:Bind ViewModel.SelectedDriveItem.PercentageUsed, Mode=OneWay}" />
276277
<Grid

0 commit comments

Comments
 (0)