diff options
author | sr55 <[email protected]> | 2013-04-21 14:49:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-04-21 14:49:48 +0000 |
commit | ac2211517fc430c95dbec662acd177c38882fa90 (patch) | |
tree | 6263314b0c9cd950dc0df5d2680c402c5486a2d8 /win/CS/HandBrakeWPF/Views | |
parent | 76d311c9aa5e4e6b58dfd1d570d275caf44051c4 (diff) |
WinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after the next release) but leave the options as passthru only. Hide the Keep AR checkbox when it's not applicable.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5406 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml b/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml index e7f5bbb35..c9aa0d69b 100644 --- a/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml +++ b/win/CS/HandBrakeWPF/Views/PictureSettingsView.xaml @@ -7,6 +7,7 @@ <UserControl.Resources>
<Converters:BooleanConverter x:Key="boolConverter" />
<Converters:BooleanToVisibilityConverter x:Key="boolToVisConverter" />
+ <Converters:BooleanToHiddenVisibilityConverter x:Key="boolToVisHiddenConverter" />
<Style TargetType="controls:NumberBox">
<Setter Property="Height" Value="24" />
</Style>
@@ -32,7 +33,9 @@ <Label Content="Height:" Grid.Row="1" Grid.Column="2" />
<controls:NumberBox Number="{Binding Height, Mode=TwoWay}" IsEnabled="{Binding HeightControlEnabled}" Modulus="{Binding SelectedModulus, Mode=OneWay}"
Minimum="0" Grid.Row="1" Grid.Column="3" Width="60" />
- <CheckBox Content="Keep Aspect Ratio" IsChecked="{Binding MaintainAspectRatio}" VerticalAlignment="Center" Margin="5,0,0,0" />
+ <CheckBox Content="Keep Aspect Ratio" IsChecked="{Binding MaintainAspectRatio}"
+ Visibility="{Binding ShowKeepAR, Converter={StaticResource boolToVisHiddenConverter}}"
+ VerticalAlignment="Center" Margin="5,0,0,0" />
</StackPanel>
<!-- Row 3-->
|