]> granicus.if.org Git - handbrake/commitdiff
WinGui: Change the checkbox text direction to be consistent with the rest of the...
authorsr55 <sr55.hb@outlook.com>
Sat, 10 Feb 2018 20:09:59 +0000 (20:09 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 10 Feb 2018 20:09:59 +0000 (20:09 +0000)
win/CS/HandBrakeWPF/Views/SubtitlesView.xaml

index 3e108851efe04a75e7f63a5d528e40cde0e661f2..3898682a5b26e31613a426a9d8b5ce1e9c2ef062 100644 (file)
                                 <ColumnDefinition Width="Auto" />\r
                                 <ColumnDefinition Width="Auto" />\r
                                 <ColumnDefinition Width="Auto" />\r
-                                <ColumnDefinition Width="Auto" />\r
-                                <ColumnDefinition Width="Auto" />\r
-                                <ColumnDefinition Width="Auto" />\r
                             </Grid.ColumnDefinitions>\r
 \r
                             <Grid.RowDefinitions>\r
                                       ItemsSource="{Binding DataContext.SourceTracks, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"\r
                                       SelectedItem="{Binding SourceTrack}" />\r
 \r
-                            <TextBlock Grid.Column="2" VerticalAlignment="Center" FontWeight="Bold" Text="Forced Only" Margin="5,0,0,0" />\r
-                            <CheckBox Grid.Column="3" Margin="5,0,5,0" VerticalAlignment="Center" IsEnabled="{Binding CanBeForced}" IsChecked="{Binding Forced}" />\r
+                            <CheckBox Grid.Column="3" Margin="5,0,5,0" VerticalAlignment="Center" IsEnabled="{Binding CanBeForced}" IsChecked="{Binding Forced}" \r
+                                      Content="Forced Only" FontWeight="Bold" />\r
                             \r
-                            <TextBlock Grid.Column="4" VerticalAlignment="Center" FontWeight="Bold" Text="Burn In" />\r
-                            <CheckBox Grid.Column="5" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Burned}" x:Name="burnInCheckbox">\r
+                            <CheckBox Grid.Column="4" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Burned}" x:Name="burnInCheckbox" Content="Burn In" FontWeight="Bold">\r
                                 <CheckBox.IsEnabled>\r
                                     <MultiBinding Converter="{StaticResource canBurnSubtitleConverter}">\r
                                         <Binding Path="CanBeBurned" />\r
                                 </i:Interaction.Triggers>\r
                             </CheckBox>\r
                             \r
-                            <TextBlock Grid.Column="6" VerticalAlignment="Center" FontWeight="Bold" Text="Default" />\r
-                            <CheckBox Grid.Column="7" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Default}">\r
+                            <CheckBox Grid.Column="5" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Default}" Content="Default" FontWeight="Bold">\r
                                 <i:Interaction.Triggers>\r
                                     <i:EventTrigger EventName="Click">\r
                                         <cal:ActionMessage MethodName="SelectDefaultTrack">\r
                                 <ColumnDefinition Width="Auto" />\r
                                 <ColumnDefinition Width="Auto" />\r
                                 <ColumnDefinition Width="Auto" />\r
-                                <ColumnDefinition Width="Auto" />\r
-                                <ColumnDefinition Width="Auto" />\r
                             </Grid.ColumnDefinitions>\r
 \r
                             <Grid.RowDefinitions>\r
                             <controls:NumberBox Grid.Column="7" Width="58" Height="24" Margin="5,0,5,0" Minimum="-9000000" Maximum="900000" \r
                                                 IsEnabled="{Binding IsSrtSubtitle}" Number="{Binding SrtOffset, Mode=TwoWay}" />\r
              \r
-                            <TextBlock Grid.Column="8" VerticalAlignment="Center" FontWeight="Bold" Text="Burn In" />\r
-                            <CheckBox Grid.Column="9" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Burned}" IsEnabled="{Binding CanBeBurned}">\r
+                            <CheckBox Grid.Column="8" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Burned}" IsEnabled="{Binding CanBeBurned}" Content="Burn In" FontWeight="Bold">\r
                                 <i:Interaction.Triggers>\r
                                     <i:EventTrigger EventName="Click">\r
                                         <cal:ActionMessage MethodName="SetBurnedToFalseForAllExcept">\r
                                 </i:Interaction.Triggers>\r
                             </CheckBox>\r
 \r
-                            <TextBlock Grid.Column="10" VerticalAlignment="Center" FontWeight="Bold" Text="Default" />\r
-                            <CheckBox Grid.Column="11" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Default}">\r
+                            <CheckBox Grid.Column="9" Margin="5,0,5,0" VerticalAlignment="Center" IsChecked="{Binding Default}" Content="Default" FontWeight="Bold">\r
                                 <i:Interaction.Triggers>\r
                                     <i:EventTrigger EventName="Click">\r
                                         <cal:ActionMessage MethodName="SelectDefaultTrack">\r