Skip to content

Commit 951c330

Browse files
committed
Fix: Fixed text trimming in the layout picker
1 parent 09118b0 commit 951c330

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Files.App/UserControls/InnerNavigationToolbar.xaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<Setter Target="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
4848
<Setter Target="VerticalContentAlignment" Value="Center" />
4949
<Setter Target="HorizontalContentAlignment" Value="Center" />
50-
<Setter Target="Width" Value="72" />
51-
<Setter Target="Height" Value="68" />
50+
<Setter Target="Width" Value="76" />
51+
<Setter Target="Height" Value="72" />
5252
<Setter Target="MinWidth" Value="0" />
5353
</Style>
5454
</ResourceDictionary>
@@ -670,9 +670,9 @@
670670
<TextBlock
671671
HorizontalAlignment="Center"
672672
FontSize="12"
673-
MaxLines="2"
674673
Text="{x:Bind Commands.LayoutDetails.Label}"
675-
TextWrapping="Wrap" />
674+
TextTrimming="CharacterEllipsis"
675+
TextWrapping="NoWrap" />
676676
</StackPanel>
677677
</RadioButton>
678678

@@ -695,9 +695,9 @@
695695
<TextBlock
696696
HorizontalAlignment="Center"
697697
FontSize="12"
698-
MaxLines="2"
699698
Text="{x:Bind Commands.LayoutList.Label}"
700-
TextWrapping="Wrap" />
699+
TextTrimming="CharacterEllipsis"
700+
TextWrapping="NoWrap" />
701701
</StackPanel>
702702
</RadioButton>
703703

@@ -720,9 +720,9 @@
720720
<TextBlock
721721
HorizontalAlignment="Center"
722722
FontSize="12"
723-
MaxLines="2"
724723
Text="{x:Bind Commands.LayoutTiles.Label}"
725-
TextWrapping="Wrap" />
724+
TextTrimming="CharacterEllipsis"
725+
TextWrapping="NoWrap" />
726726
</StackPanel>
727727
</RadioButton>
728728

@@ -745,9 +745,9 @@
745745
<TextBlock
746746
HorizontalAlignment="Center"
747747
FontSize="12"
748-
MaxLines="2"
749748
Text="{x:Bind Commands.LayoutGrid.Label}"
750-
TextWrapping="Wrap" />
749+
TextTrimming="CharacterEllipsis"
750+
TextWrapping="NoWrap" />
751751
</StackPanel>
752752
</RadioButton>
753753

@@ -770,9 +770,9 @@
770770
<TextBlock
771771
HorizontalAlignment="Center"
772772
FontSize="12"
773-
MaxLines="2"
774773
Text="{x:Bind Commands.LayoutColumns.Label}"
775-
TextWrapping="Wrap" />
774+
TextTrimming="CharacterEllipsis"
775+
TextWrapping="NoWrap" />
776776
</StackPanel>
777777
</RadioButton>
778778
</StackPanel>

0 commit comments

Comments
 (0)