Skip to content

Commit

Permalink
WinGui: Set x264/5 Granularity to 0.5 by default. Also allow the slid…
Browse files Browse the repository at this point in the history
…er control to grow to the available size to make it easier for fine tuning by mouse.
  • Loading branch information
sr55 committed Aug 31, 2018
1 parent f990512 commit f5c52c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions win/CS/HandBrakeWPF/Views/VideoView.xaml
Expand Up @@ -89,12 +89,12 @@
Margin="10,0,0,0" ToolTip="{x:Static Properties:Resources.Video_LosslessWarningTooltip}" FontWeight="Bold" />
</StackPanel>

<Slider Width="280" Value="{Binding RF, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"
IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,0,10"
<Slider Value="{Binding RF, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" Maximum="{Binding QualityMax}" Minimum="{Binding QualityMin}"
IsEnabled="{Binding IsConstantQuantity}" Margin="20,0,10,10"
ToolTip="{x:Static Properties:ResourcesTooltips.Video_Quality}" Style="{StaticResource LongToolTipHolder}"
IsSnapToTickEnabled="True" TickFrequency="1" TickPlacement="BottomRight" />

<Grid Margin="20,0,0,15" Width="280" HorizontalAlignment="Left">
<Grid Margin="20,0,10,15" HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
Expand Down
2 changes: 1 addition & 1 deletion win/CS/HandBrakeWPF/defaultsettings.xml
Expand Up @@ -5,7 +5,7 @@
<string>X264Step</string>
</key>
<value>
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d4p1:type="q1:double" xmlns:d4p1="http://www.w3.org/2001/XMLSchema-instance">1.0</anyType>
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d4p1:type="q1:double" xmlns:d4p1="http://www.w3.org/2001/XMLSchema-instance">0.5</anyType>
</value>
</item>
<item>
Expand Down

0 comments on commit f5c52c4

Please sign in to comment.