Add view=FitH to Webview
This commit is contained in:
@ -20,7 +20,7 @@ namespace WGneu.Windows {
|
||||
public DocumentViewerWindow(string title, string path) {
|
||||
InitializeComponent();
|
||||
Title = Title + " - " + title;
|
||||
WebView.Source = new("file://" + path);
|
||||
WebView.Source = new($"file://{path}#view=FitH");
|
||||
}
|
||||
|
||||
public DocumentViewerWindow(string title, Utils.TemporaryFile file) : this(title, file.FilePath) {
|
||||
|
Reference in New Issue
Block a user