From 72f0a746a959602feb049e777aab1c4480038af7 Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 25 May 2024 08:45:21 +0900 Subject: [PATCH] Fix Binding --- .../Views/PreviewPanel.xaml | 69 +++++++++---------- 1 file changed, 33 insertions(+), 36 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/PreviewPanel.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/PreviewPanel.xaml index 4d7343fc5..b5cfd1a5d 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/PreviewPanel.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/PreviewPanel.xaml @@ -1,12 +1,17 @@ - - + + @@ -14,8 +19,8 @@ @@ -42,23 +47,15 @@ - - - - - - + + + @@ -74,61 +71,61 @@ Grid.Row="0" Grid.Column="0" Margin="0 0 8 0" - Visibility="{Binding FileSizeVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" VerticalAlignment="Top" Style="{DynamicResource PreviewItemSubTitleStyle}" Text="{DynamicResource FileSize}" - TextWrapping="Wrap" /> + TextWrapping="Wrap" + Visibility="{Binding FileSizeVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" /> + TextWrapping="Wrap" + Visibility="{Binding FileSizeVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" /> + TextWrapping="Wrap" + Visibility="{Binding CreatedAtVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" /> + TextWrapping="Wrap" + Visibility="{Binding CreatedAtVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" /> + TextWrapping="Wrap" + Visibility="{Binding LastModifiedAtVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" /> + TextWrapping="Wrap" + Visibility="{Binding LastModifiedAtVisibility, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}" />