diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 54c577f84..136a90fcf 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -313,7 +313,7 @@ Visibility="Collapsed"> @@ -325,8 +325,9 @@ x:Name="ImageIcon" Grid.Row="0" Grid.Column="0" - Height="128" - Margin="0,0,0,8" + MaxWidth="{Binding ActualWidth, ElementName=Preview}" + MaxHeight="400" + Margin="0,10,0,8" HorizontalAlignment="Center" Source="{Binding PreviewImage}" Visibility="{Binding ShowIcon}" /> @@ -343,10 +344,10 @@ ImageLoader.Load(imagePath, true)).ConfigureAwait(false); - PreviewImage = ShellFile.FromFilePath(imagePath).Thumbnail.LargeBitmapSource; + PreviewImage = ShellFile.FromFilePath(imagePath).Thumbnail.ExtraLargeBitmapSource; } public Result Result { get; }