diff options
author | sr55 <[email protected]> | 2013-06-29 15:36:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-06-29 15:36:48 +0000 |
commit | 75e97b7e676869c9ea83200b2f882ba4e0435f23 (patch) | |
tree | d164b9e581cf1bb85b4d15a8b68eb6f3dcb49ab3 /win/CS/HandBrakeWPF/Views/ShellView.xaml.cs | |
parent | acd0b75397ae0dfc18d1fd31c4031e87c22a6134 (diff) |
WinGui: Just some prototype code for safe keeping. Some ideas around an Instant HandBrake window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5617 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/ShellView.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/ShellView.xaml.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs index b1eff7ddd..067446f12 100644 --- a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs @@ -82,6 +82,14 @@ namespace HandBrakeWPF.Views {
this.TaskbarItemInfo = Win7.WindowsTaskbar;
}
+
+ // Window Sizing
+ if (AppArguments.IsInstantHandBrake)
+ {
+ this.SizeToContent = SizeToContent.WidthAndHeight;
+ this.MinHeight = 380;
+ this.MinWidth = 600;
+ }
}
/// <summary>
|