[Peek]FlowDirection.LeftToRight added to prevent RTL language mirroring (#27258)

* [Peek] FlowDirection.LeftToRight added to prevent RTL language mirroring.

* [Peek] Dynamic layout updates applied to title bar for RTL/LTR language support
This commit is contained in:
gokcekantarci
2023-07-24 16:23:22 +03:00
committed by GitHub
parent a97e59396d
commit 75cac46ed3
3 changed files with 90 additions and 25 deletions

View File

@@ -149,6 +149,13 @@ namespace Peek.FilePreviewer
BrowserPreview.Visibility = Visibility.Collapsed;
ArchivePreview.Visibility = Visibility.Collapsed;
UnsupportedFilePreview.Visibility = Visibility.Collapsed;
ImagePreview.FlowDirection = FlowDirection.LeftToRight;
VideoPreview.FlowDirection = FlowDirection.LeftToRight;
BrowserPreview.FlowDirection = FlowDirection.LeftToRight;
ArchivePreview.FlowDirection = FlowDirection.LeftToRight;
UnsupportedFilePreview.FlowDirection = FlowDirection.LeftToRight;
return;
}