summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-06-02 17:20:04 +0000
committersr55 <[email protected]>2013-06-02 17:20:04 +0000
commit812134ffba931aa603e67f541e7a2f0f03215fbb (patch)
treeb195c534be675fd4922c91cf4354cb88b05e93ac /win/CS/HandBrakeWPF/Views
parent392005a7d2341fa497f929b7549b749c51c249d6 (diff)
WinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the quality slider.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5545 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r--win/CS/HandBrakeWPF/Views/VideoView.xaml25
1 files changed, 17 insertions, 8 deletions
diff --git a/win/CS/HandBrakeWPF/Views/VideoView.xaml b/win/CS/HandBrakeWPF/Views/VideoView.xaml
index 58fedf7bb..7c617c2c1 100644
--- a/win/CS/HandBrakeWPF/Views/VideoView.xaml
+++ b/win/CS/HandBrakeWPF/Views/VideoView.xaml
@@ -13,7 +13,7 @@
<Converters:EnumComboConverter x:Key="enumComboConverter" />
<Converters:InverseBooleanConverter x:Key="inverseConverter" />
<Video:VideoEncoderConverter x:Key="videoEncoderConverter" />
-
+
<Style x:Key="LongToolTipHolder" TargetType="FrameworkElement">
<Setter Property="ToolTipService.ShowDuration" Value="20000" />
</Style>
@@ -28,7 +28,7 @@
</Setter>
</Style>
</UserControl.Resources>
-
+
<Grid Margin="10,5,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
@@ -41,7 +41,7 @@
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
-
+
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
@@ -67,7 +67,7 @@
</MultiBinding>
</ComboBox.ItemsSource>
</ComboBox>
-
+
</StackPanel>
<StackPanel Orientation="Horizontal">
@@ -84,7 +84,7 @@
</StackPanel>
- <StackPanel Orientation="Vertical" Grid.Column="1" >
+ <StackPanel Orientation="Vertical" Grid.Column="1" Grid.RowSpan="2">
<TextBlock Text="Quality" FontWeight="Bold" Margin="0,0,0,10"/>
<StackPanel Orientation="Horizontal" Margin="0,0,0,10" >
@@ -97,10 +97,19 @@
</StackPanel>
<Slider Width="280" Value="{Binding RF}" HorizontalAlignment="Left" Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"
- IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,0,20"
+ IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,0,10"
ToolTip="{x:Static Properties:Resources.Video_QualitySlider}" Style="{StaticResource LongToolTipHolder}"
IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight" />
+ <Grid Margin="20,0,0,20" Width="280" HorizontalAlignment="Left">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="*" />
+ </Grid.ColumnDefinitions>
+ <TextBlock Text="{x:Static Properties:Resources.Video_LowQuality}" />
+ <TextBlock Text="{Binding HighQualityLabel}" HorizontalAlignment="Right" Grid.Column="1" />
+ </Grid>
+
<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
<RadioButton Content="Avg Bitrate (kbps):" IsChecked="{Binding IsConstantQuantity, Converter={StaticResource boolConverter}, ConverterParameter=true}" Margin="0,0,10,0"/>
<TextBox Width="75" Text="{Binding Task.VideoBitrate, UpdateSourceTrigger=PropertyChanged}"
@@ -192,8 +201,8 @@
</Grid>
</Grid>
-
-
+
+
</Grid>
</Grid>