summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-08-31 23:16:01 +0100
committersr55 <[email protected]>2018-08-31 23:16:18 +0100
commitf5c52c414fdfaddbc1465f7031ae2788d4969bc5 (patch)
tree1a47e1e13ee1bd724241eaf40430674962b131e9 /win
parentf990512a1c0f1330cce7bf180cb52b6c9fd3b749 (diff)
WinGui: Set x264/5 Granularity to 0.5 by default. Also allow the slider control to grow to the available size to make it easier for fine tuning by mouse.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Views/VideoView.xaml6
-rw-r--r--win/CS/HandBrakeWPF/defaultsettings.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Views/VideoView.xaml b/win/CS/HandBrakeWPF/Views/VideoView.xaml
index 8c55b293a..7e1775a45 100644
--- a/win/CS/HandBrakeWPF/Views/VideoView.xaml
+++ b/win/CS/HandBrakeWPF/Views/VideoView.xaml
@@ -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="*" />
diff --git a/win/CS/HandBrakeWPF/defaultsettings.xml b/win/CS/HandBrakeWPF/defaultsettings.xml
index f0c431063..aa14a59b0 100644
--- a/win/CS/HandBrakeWPF/defaultsettings.xml
+++ b/win/CS/HandBrakeWPF/defaultsettings.xml
@@ -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>