summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml b/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
index bd1e9bce5..d6446e1db 100644
--- a/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
+++ b/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
@@ -7,10 +7,10 @@
xmlns:Conveters="clr-namespace:HandBrakeWPF.Converters"
xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"
Title="{Binding Title}"
+ MinWidth="550"
Width="550"
Height="475"
MinHeight="475"
- SizeToContent="Height"
WindowStartupLocation="CenterScreen"
TextOptions.TextFormattingMode="Display"
mc:Ignorable="d">
@@ -44,14 +44,14 @@
</StackPanel>
<!-- Selection -->
- <ListBox Grid.Row="2"
+ <ListBox x:Name="SelectionGrid" Grid.Row="2"
MinHeight="240"
- MaxHeight="500"
Margin="10,10,10,10"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
ItemsSource="{Binding TitleList}"
- SelectionMode="Single">
+ SelectionMode="Single"
+ PreviewKeyDown="SelectionGrid_OnKeyDown">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />