diff options
author | sr55 <[email protected]> | 2012-04-01 17:07:05 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-04-01 17:07:05 +0000 |
commit | b07bb66a24127135b5b921db6486f1cad45f42cc (patch) | |
tree | 6b02a41cf78cb1b415c968b2399e6c64aeca1243 /win/CS/HandBrakeWPF/Views | |
parent | 12d9b4d8ae55f94eda8bccc6edc07dca1c69a7ad (diff) |
WinGui: (WPF) Bug fixes to the advanced panel
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4578 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/AdvancedView.xaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml index 4221a8e5d..92923f6c8 100644 --- a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml +++ b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml @@ -231,10 +231,12 @@ </Slider.ToolTip>
</Slider>
- <Label Content="Psychovisual Rate Distortion:" Grid.Row="1" Grid.Column="0" Style="{StaticResource AdvancedLabel}" />
+ <Label Content="Psychovisual Rate Distortion:" Grid.Row="1" Grid.Column="0" Style="{StaticResource AdvancedLabel}"
+ Visibility="{Binding PsychovisualRateDistortionVisible, Converter={StaticResource VisibilityConverter}}" />
<Slider Grid.Row="1" Grid.Column="1" Minimum="0.0" Maximum="2.0" TickPlacement="BottomRight"
- TickFrequency="0.1" SmallChange="0.1" LargeChange="0.2" IsSnapToTickEnabled="True"
- Value="{Binding PsychovisualRateDistortion}" Style="{StaticResource LongToolTipHolder}">
+ TickFrequency="0.1" SmallChange="0.1" LargeChange="0.2" IsSnapToTickEnabled="True"
+ Visibility="{Binding PsychovisualRateDistortionVisible, Converter={StaticResource VisibilityConverter}}"
+ Value="{Binding PsychovisualRateDistortion}" Style="{StaticResource LongToolTipHolder}">
<Slider.ToolTip>
<TextBlock Text="{x:Static Properties:Resources.Advanced_PsychovisualRateDistortionToolTip}" Style="{StaticResource LongToolTip}" />
</Slider.ToolTip>
|