Add "Focusable" property to plugins

This commit is contained in:
Paddy Xu
2017-05-06 22:56:20 +03:00
parent fb1d67e5a0
commit 58886d3302
9 changed files with 27 additions and 9 deletions

View File

@@ -40,9 +40,10 @@ namespace QuickLook.Plugin.TextViewer
}
}
public void BoundViewSize(string path, ContextObject context)
public void Prepare(string path, ContextObject context)
{
context.PreferredSize = new Size {Width = 800, Height = 600};
context.Focusable = true;
}
public void View(string path, ContextObject context)