summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-09-09 22:44:00 +0100
committersr55 <[email protected]>2016-09-09 22:44:11 +0100
commitc50a2c7d9d3045cda7827285e816b8af7b4ab106 (patch)
tree26e1663b8144b492c5be113f80fd5dc1d7258c05 /win
parent0dbad990a03753fb6da9f999280e2ad027f4dcc7 (diff)
WinGui: Add more space around the preview window when the content is larger than the screen work area.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs
index 70ad9f71e..b08122abd 100644
--- a/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs
@@ -475,13 +475,13 @@ namespace HandBrakeWPF.ViewModels
Rect workArea = SystemParameters.WorkArea;
if (ea.NewSize.Width > workArea.Width)
{
- this.Width = (int)Math.Round(workArea.Width, 0) - 20;
+ this.Width = (int)Math.Round(workArea.Width, 0) - 50;
this.Title = Resources.Preview_Scaled;
}
if (ea.NewSize.Height > workArea.Height)
{
- this.Height = (int)Math.Round(workArea.Height, 0) - 20;
+ this.Height = (int)Math.Round(workArea.Height, 0) - 50;
this.Title = Resources.Preview_Scaled;
}
}