[FileLocksmith] Wrap path into multiple lines in Selected file paths UI (#31644)

* [FileLocksmith] Add scroll to path in Selected file paths UI

* [FileLocksmith] Make path wrap into multiple lines in Selected paths UI
Earlier, the path was getting truncated within a single line.
Fixes microsoft#26489
This commit is contained in:
Sanidhya Singh 2024-03-12 19:24:29 +05:30 committed by GitHub
parent fdc723b047
commit ade871caef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,9 +195,10 @@
</Grid>
<ContentDialog x:Name="SelectedFilesListDialog" x:Uid="SelectedFilesListDialog">
<ScrollViewer Padding="0,0,16,0">
<TextBlock IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.PathsToString, Mode=OneWay}" />
</ScrollViewer>
<TextBlock
IsTextSelectionEnabled="True"
Text="{x:Bind ViewModel.PathsToString, Mode=OneWay}"
TextWrapping="Wrap" />
</ContentDialog>
</Grid>
</Page>