From 105515eecbb09a9a9b9da5ad1e53111323c5cc5c Mon Sep 17 00:00:00 2001 From: DB p Date: Thu, 30 May 2024 01:00:14 +0900 Subject: [PATCH 1/9] - Treat the preview panel height equal to the resultlist height - Modify the image width to fit in the preview area if it is a media file --- Flow.Launcher/MainWindow.xaml | 1 + .../Views/PreviewPanel.xaml | 24 +++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 2b10f79b3a5..3a1cb182599 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -514,6 +514,7 @@ - + + Stretch="Uniform"> @@ -53,8 +51,20 @@ - - + + + From 311829ea9c1afcd116f2360b0f87bbcbebe16d36 Mon Sep 17 00:00:00 2001 From: DB p Date: Thu, 30 May 2024 01:13:05 +0900 Subject: [PATCH 2/9] Add Preview MinHeight for too low result item case --- Flow.Launcher/MainWindow.xaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 3a1cb182599..dec42e029fe 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -439,6 +439,7 @@ Style="{DynamicResource PreviewArea}" Visibility="{Binding PreviewVisible, Converter={StaticResource BoolToVisibilityConverter}}"> Date: Thu, 30 May 2024 01:17:39 +0900 Subject: [PATCH 3/9] Remove Normal Preview's Minheight --- Flow.Launcher/MainWindow.xaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index dec42e029fe..d5f8b4912cf 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -439,7 +439,6 @@ Style="{DynamicResource PreviewArea}" Visibility="{Binding PreviewVisible, Converter={StaticResource BoolToVisibilityConverter}}"> Date: Thu, 30 May 2024 02:48:50 +0900 Subject: [PATCH 4/9] Adjust Layout --- Flow.Launcher/MainWindow.xaml | 1 - Flow.Launcher/MainWindow.xaml.cs | 1 - .../Views/PreviewPanel.xaml | 40 +++++++++++-------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index d5f8b4912cf..3a1cb182599 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -514,7 +514,6 @@