From efaca311fcc9a4a726f40bca3256492d319867cd Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Tue, 8 Aug 2017 23:19:46 +0300 Subject: [PATCH] wip videoviewer --- .../QuickLook.Plugin.VideoViewer/Plugin.cs | 2 +- .../QuickLook.Plugin.VideoViewer/Styles.xaml | 5 +- .../ViewerPanel.xaml | 78 ++++++++++++++----- .../ViewerPanel.xaml.cs | 21 +++++ QuickLook/App.xaml | 1 + QuickLook/MainWindowTransparent.xaml | 43 +++++----- QuickLook/MainWindowTransparent.xaml.cs | 40 ++++------ QuickLook/Plugin/InfoPanel/InfoPanel.xaml | 4 +- QuickLook/Styles/MainWindowStyles.Dark.xaml | 3 +- QuickLook/Styles/MainWindowStyles.xaml | 5 +- 10 files changed, 127 insertions(+), 75 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs index ad69e23..ff7f4e5 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs @@ -60,7 +60,7 @@ namespace QuickLook.Plugin.VideoViewer { _context = context; - var def = new Size(450, 450); + var def = new Size(500, 300); _mediaSize = GetMediaSizeWithVlc(path); diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Styles.xaml b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Styles.xaml index 7ece212..aff2c25 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Styles.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Styles.xaml @@ -1,9 +1,6 @@  - - - - + - - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + +