summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-10-01 19:49:52 +0100
committersr55 <[email protected]>2019-10-01 19:50:27 +0100
commit124f0e52ca6d51acfa849b1f8679126bae9887d6 (patch)
tree350e286f8573008b4427bd9e82c4e5c1f83bf965 /win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
parenteb6b180a446dc1cabcf19eef42debca18ef429b8 (diff)
WinGui: Optional support for previewing flip/rotate. #2334
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml16
1 files changed, 7 insertions, 9 deletions
diff --git a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
index 6f1b54694..db622c247 100644
--- a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
+++ b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
@@ -31,16 +31,18 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
</Grid.RowDefinitions>
+
<Slider Maximum="{Binding TotalPreviews}" Minimum="0" AutomationProperties.Name="{x:Static Properties:Resources.StaticPreviewView_SelectPreviewImage}"
Value="{Binding SelectedPreviewImage}"
VerticalAlignment="Center"
HorizontalAlignment="Stretch"
- Background="Transparent" TickPlacement="TopLeft"
- Margin="0,0,0,5"
- />
+ Background="Transparent" TickPlacement="TopLeft" Margin="0,0,0,5" />
+
+ <CheckBox IsChecked="{Binding PreviewRotateFlip}" Content="{x:Static Properties:Resources.StaticPreviewView_PreviewRotationFlip}" Foreground="White" Grid.Row="1" Margin="0,0,0,10" />
- <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Left">
+ <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Left">
<Button Content="{x:Static Properties:Resources.StaticPreviewView_LivePreview}" Padding="8,2" cal:Message.Attach="[Event Click] = [Action Play]" />
<TextBlock Margin="10,0,5,0" VerticalAlignment="Center" Foreground="White" Text="{x:Static Properties:Resources.StaticPreviewView_Duration}" />
<ComboBox Width="60"
@@ -50,11 +52,7 @@
<CheckBox VerticalAlignment="Center" Content="{x:Static Properties:Resources.StaticPreviewView_UseSystemDefault}" Foreground="White" Margin="10,0,0,0" IsChecked="{Binding UseSystemDefaultPlayer}" />
</StackPanel>
- <StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0,5,0,0">
-
- </StackPanel>
-
- <Grid Margin="0,10,10,0" Grid.Row="2" Visibility="{Binding IsEncoding, Converter={StaticResource booleanToVisibilityConverter}}">
+ <Grid Margin="0,10,10,0" Grid.Row="3" Visibility="{Binding IsEncoding, Converter={StaticResource booleanToVisibilityConverter}}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="23*" />
<ColumnDefinition Width="289*"/>