summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-11-29 19:56:22 +0000
committersr55 <[email protected]>2014-11-29 19:56:22 +0000
commit9c9a769493c732fdcdcd5b62710b6231863c53ba (patch)
treee3f1bfc04814a4dbb310d2961127a8a2d4d81612 /win/CS/HandBrakeWPF/Controls
parent31ffff6786821a3dab6e58d9f93cabab4b18688a (diff)
WinGui: Improve the design of the Source Selection window. The pane will now show a scrollbar if there are a large number of DVD drives available.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6570 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml26
1 files changed, 15 insertions, 11 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
index dde18c292..56b6c93e7 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
@@ -9,8 +9,6 @@
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
@@ -29,38 +27,44 @@
Minimum="0" Maximum="1000" Number="{Binding TitleSpecificScan, Mode=TwoWay}" />
</StackPanel>
- <TextBlock Text="Then choose your source: " Margin="0,10,0,0" />
+ <TextBlock Text="Then choose the video(s) you'd like to encode: " Margin="0,10,0,0" />
</StackPanel>
<!-- Source Type -->
- <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Left" Margin="5,5,0,0">
+ <Grid Grid.Row="2" HorizontalAlignment="Left" Margin="5,5,0,0">
+
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="*" />
+ </Grid.RowDefinitions>
<!-- Ctrl + R -->
- <Button AutomationProperties.Name="Choose Folder to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
+ <Button Grid.Row="0" AutomationProperties.Name="Choose Folder to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
Margin="0,0,0,7" Padding="8" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal" MinWidth="100">
<Image Source="../Views/Images/folder32.png" Width="32" />
<StackPanel Orientation="Vertical">
<TextBlock Text="Folder" VerticalAlignment="Center" Margin="5,0,0,0" />
- <TextBlock Text="Open a VIDEO_TS folder or a batch of files" VerticalAlignment="Center" Margin="5,0,0,0" />
+ <TextBlock Text="Open a folder with one or more files." VerticalAlignment="Center" Margin="5,0,0,0" />
</StackPanel>
</StackPanel>
</Button>
<!--Ctrl + F-->
- <Button AutomationProperties.Name="Choose File to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FileScan]"
+ <Button Grid.Row="1" AutomationProperties.Name="Choose File to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FileScan]"
Margin="0,0,0,7" Padding="8" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal" MinWidth="100">
<Image Source="../Views/Images/File32.png" Width="32" />
<StackPanel Orientation="Vertical">
<TextBlock Text="File" VerticalAlignment="Center" Margin="5,0,0,0" />
- <TextBlock Text="Open a single file." VerticalAlignment="Center" Margin="5,0,0,0" />
+ <TextBlock Text="Open a single video file." VerticalAlignment="Center" Margin="5,0,0,0" />
</StackPanel>
</StackPanel>
</Button>
-
- <ListBox ItemsSource="{Binding Drives}" Background="Transparent" BorderThickness="0">
+
+ <ListBox Grid.Row="2" ItemsSource="{Binding Drives}" Background="Transparent" BorderThickness="0">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
@@ -79,7 +83,7 @@
</ListBox.ItemTemplate>
</ListBox>
- </StackPanel>
+ </Grid>
<!-- Cancel Window -->
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,10,10">