Skip to content

Fix: Fixed alignment issues on the Status Bar #12794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/Files.App/UserControls/StatusBarControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Orientation="Horizontal"
Spacing="8">
Spacing="8"
Visibility="{x:Bind ShowInfoText, Mode=OneWay}">

<TextBlock
x:Name="DirectoryItemCount"
Expand All @@ -133,10 +134,9 @@
<TextBlock
x:Name="SelectedItemsCountString"
VerticalAlignment="Center"
x:Load="{x:Bind ShowInfoText, Mode=OneWay}"
x:Load="{x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}"
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="{x:Bind SelectedItemsPropertiesViewModel.SelectedItemsCountString, Mode=OneWay}"
Visibility="{x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
Text="{x:Bind SelectedItemsPropertiesViewModel.SelectedItemsCountString, Mode=OneWay}" />

<!-- Divider -->
<Border
Expand All @@ -149,10 +149,9 @@
<TextBlock
x:Name="ItemSize"
VerticalAlignment="Center"
x:Load="{x:Bind ShowInfoText, Mode=OneWay}"
x:Load="{x:Bind SelectedItemsPropertiesViewModel.ItemSizeVisibility, Mode=OneWay}"
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="{x:Bind SelectedItemsPropertiesViewModel.ItemSize, Mode=OneWay}"
Visibility="{x:Bind SelectedItemsPropertiesViewModel.ItemSizeVisibility, Mode=OneWay}" />
Text="{x:Bind SelectedItemsPropertiesViewModel.ItemSize, Mode=OneWay}" />
</StackPanel>

<StackPanel
Expand Down