mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 02:09:05 +00:00
Fix styling issues in the Search Panel #1592
This commit is contained in:
@@ -49,6 +49,20 @@ public class Plugin : IViewer
|
||||
|
||||
_hlmLight = GetHighlightingManager(Themes.Light, "Light");
|
||||
_hlmDark = GetHighlightingManager(Themes.Dark, "Dark");
|
||||
|
||||
// Implementation of the Search Panel Styled with Fluent Theme
|
||||
{
|
||||
var groupDictionary = new ResourceDictionary();
|
||||
groupDictionary.MergedDictionaries.Add(new ResourceDictionary()
|
||||
{
|
||||
Source = new Uri("pack://application:,,,/QuickLook.Plugin.TextViewer;component/Controls/DropDownButton.xaml", UriKind.Absolute)
|
||||
});
|
||||
groupDictionary.MergedDictionaries.Add(new ResourceDictionary()
|
||||
{
|
||||
Source = new Uri("pack://application:,,,/QuickLook.Plugin.TextViewer;component/Controls/SearchPanel.xaml", UriKind.Absolute)
|
||||
});
|
||||
Application.Current.Resources.MergedDictionaries.Add(groupDictionary);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CanHandle(string path)
|
||||
|
Reference in New Issue
Block a user