Skip to content

Commit

Permalink
Fix: Fixed text trimming in the layout picker
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Mar 7, 2024
1 parent 09118b0 commit 951c330
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Files.App/UserControls/InnerNavigationToolbar.xaml
Expand Up @@ -47,8 +47,8 @@
<Setter Target="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
<Setter Target="VerticalContentAlignment" Value="Center" />
<Setter Target="HorizontalContentAlignment" Value="Center" />
<Setter Target="Width" Value="72" />
<Setter Target="Height" Value="68" />
<Setter Target="Width" Value="76" />
<Setter Target="Height" Value="72" />
<Setter Target="MinWidth" Value="0" />
</Style>
</ResourceDictionary>
Expand Down Expand Up @@ -670,9 +670,9 @@
<TextBlock
HorizontalAlignment="Center"
FontSize="12"
MaxLines="2"
Text="{x:Bind Commands.LayoutDetails.Label}"
TextWrapping="Wrap" />
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</StackPanel>
</RadioButton>

Expand All @@ -695,9 +695,9 @@
<TextBlock
HorizontalAlignment="Center"
FontSize="12"
MaxLines="2"
Text="{x:Bind Commands.LayoutList.Label}"
TextWrapping="Wrap" />
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</StackPanel>
</RadioButton>

Expand All @@ -720,9 +720,9 @@
<TextBlock
HorizontalAlignment="Center"
FontSize="12"
MaxLines="2"
Text="{x:Bind Commands.LayoutTiles.Label}"
TextWrapping="Wrap" />
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</StackPanel>
</RadioButton>

Expand All @@ -745,9 +745,9 @@
<TextBlock
HorizontalAlignment="Center"
FontSize="12"
MaxLines="2"
Text="{x:Bind Commands.LayoutGrid.Label}"
TextWrapping="Wrap" />
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</StackPanel>
</RadioButton>

Expand All @@ -770,9 +770,9 @@
<TextBlock
HorizontalAlignment="Center"
FontSize="12"
MaxLines="2"
Text="{x:Bind Commands.LayoutColumns.Label}"
TextWrapping="Wrap" />
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</StackPanel>
</RadioButton>
</StackPanel>
Expand Down

0 comments on commit 951c330

Please sign in to comment.