diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml | 7 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml | 3 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/VideoView.xaml | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml b/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml index b8c1263f2..b5d2f70a6 100644 --- a/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml +++ b/win/CS/HandBrakeWPF/Views/AudioDefaultsView.xaml @@ -31,8 +31,7 @@ </Grid.ColumnDefinitions> <!-- Row 2 --> - <StackPanel Grid.Row="0" Grid.Column="0" Margin="10,0,0,0" - Visibility="{Binding ShowAudioDefaultsPanel, Converter={StaticResource boolToVisConverter}, ConverterParameter=false, FallbackValue=Visible}"> + <StackPanel Grid.Row="0" Grid.Column="0" Margin="10,0,0,0"> <Grid Margin="0,0,0,0" > <Grid.RowDefinitions> @@ -148,8 +147,8 @@ </ComboBox.SelectedItem> <ComboBox.ItemsSource> <MultiBinding Converter="{StaticResource audioEncoderConverter}" ConverterParameter="True"> - <Binding Path="AudioEncoders" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" /> - <Binding Path="Task" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" /> + <Binding Path="DataContext.AudioEncoders" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" /> + <Binding Path="DataContext.Task" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" /> </MultiBinding> </ComboBox.ItemsSource> </ComboBox> diff --git a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml index d15c02813..87ce1e7cd 100644 --- a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml +++ b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml @@ -38,8 +38,7 @@ <!-- Row 0 --> - <StackPanel Grid.Row="0" Grid.Column="0" Margin="10,0,0,0" - Visibility="{Binding ShowDefaultsPanel, Converter={StaticResource booleanToVisConverter}, ConverterParameter=false}"> + <StackPanel Grid.Row="0" Grid.Column="0" Margin="10,0,0,0"> <Grid Margin="5,0,0,0" > <Grid.RowDefinitions> diff --git a/win/CS/HandBrakeWPF/Views/VideoView.xaml b/win/CS/HandBrakeWPF/Views/VideoView.xaml index aaa8064e8..8c30ea5f8 100644 --- a/win/CS/HandBrakeWPF/Views/VideoView.xaml +++ b/win/CS/HandBrakeWPF/Views/VideoView.xaml @@ -124,7 +124,7 @@ </StackPanel>
<!-- H264 settings -->
- <Grid Grid.Row="1" Grid.ColumnSpan="2" Margin="0,10,0,0">
+ <Grid Grid.Row="1" Grid.ColumnSpan="2" Margin="0,5,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
|