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

@@ -31,7 +31,7 @@ namespace QuickLook.Plugin.OfficeViewer
return false;
}
public void BoundViewSize(string path, ContextObject context)
public void Prepare(string path, ContextObject context)
{
context.SetPreferredSizeFit(new Size {Width = 800, Height = 600}, 0.8);
}