diff --git a/src/Files.App/Views/Layouts/ColumnLayoutPage.xaml b/src/Files.App/Views/Layouts/ColumnLayoutPage.xaml index 05287ebde5d2..ef853ffa8c52 100644 --- a/src/Files.App/Views/Layouts/ColumnLayoutPage.xaml +++ b/src/Files.App/Views/Layouts/ColumnLayoutPage.xaml @@ -300,6 +300,7 @@ VerticalAlignment="Center" Opacity="{x:Bind Opacity, Mode=OneWay}" Text="{x:Bind Name, Mode=OneWay}" + MaxLines="1" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" /> @@ -312,7 +313,7 @@ VerticalAlignment="Stretch" BeforeTextChanging="ItemNameTextBox_BeforeTextChanging" TextAlignment="Left" - TextWrapping="Wrap" + TextWrapping="NoWrap" Visibility="Collapsed"> diff --git a/src/Files.App/Views/Layouts/DetailsLayoutPage.xaml b/src/Files.App/Views/Layouts/DetailsLayoutPage.xaml index 682efac7d645..1c9573c77990 100644 --- a/src/Files.App/Views/Layouts/DetailsLayoutPage.xaml +++ b/src/Files.App/Views/Layouts/DetailsLayoutPage.xaml @@ -1021,7 +1021,9 @@ VerticalAlignment="Center" Opacity="{x:Bind Opacity, Mode=OneWay}" Text="{x:Bind Name, Mode=OneWay}" - TextTrimming="CharacterEllipsis" /> + MaxLines="1" + TextTrimming="CharacterEllipsis" + TextWrapping="NoWrap" /> diff --git a/src/Files.App/Views/Layouts/GridLayoutPage.xaml b/src/Files.App/Views/Layouts/GridLayoutPage.xaml index efcd747fdd91..20125d9820cd 100644 --- a/src/Files.App/Views/Layouts/GridLayoutPage.xaml +++ b/src/Files.App/Views/Layouts/GridLayoutPage.xaml @@ -574,12 +574,12 @@ + TextWrapping="NoWrap" />