]> granicus.if.org Git - handbrake/commitdiff
WinGui: Add more space around the preview window when the content is larger than...
authorsr55 <sr55.hb@outlook.com>
Fri, 9 Sep 2016 21:44:00 +0000 (22:44 +0100)
committersr55 <sr55.hb@outlook.com>
Fri, 9 Sep 2016 21:44:11 +0000 (22:44 +0100)
win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs

index 70ad9f71e9ed44a6566aca3547f0a6da061437c4..b08122abde8328ea869dd0f868a19f26a3e2a034 100644 (file)
@@ -475,13 +475,13 @@ namespace HandBrakeWPF.ViewModels
             Rect workArea = SystemParameters.WorkArea;\r
             if (ea.NewSize.Width > workArea.Width)\r
             {\r
-                this.Width = (int)Math.Round(workArea.Width, 0) - 20;\r
+                this.Width = (int)Math.Round(workArea.Width, 0) - 50;\r
                 this.Title = Resources.Preview_Scaled;\r
             }\r
 \r
             if (ea.NewSize.Height > workArea.Height)\r
             {\r
-                this.Height = (int)Math.Round(workArea.Height, 0) - 20;\r
+                this.Height = (int)Math.Round(workArea.Height, 0) - 50;\r
                 this.Title = Resources.Preview_Scaled;\r
             }\r
         }\r