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 ba9ac0b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 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" />
Text="details layout"
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" />
Text="{x:Bind Commands.LayoutDetails.Label}"
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 ba9ac0b

Please sign in to comment.