summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-12-21 23:51:58 +0000
committersr55 <[email protected]>2013-12-21 23:51:58 +0000
commit164190053ac8ef37f98e944ae7f9368e8ae5279a (patch)
tree89bdc2ea2b8b62cc696a024b78632bf9fae9fe97
parent2c3cc803fd04b14a87e6fc2cacbc2fbe96888fea (diff)
WinGui: Attempt to make the new source selection window less jarring in terms of positioning. Docked it to the left rather than centre and reduce the spacing between the UI elements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5938 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml15
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml4
2 files changed, 10 insertions, 9 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
index b44785324..437cb1c73 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
@@ -16,12 +16,12 @@
</Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="15,30,0,0">
+ <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="5,10,0,0">
<TextBlock Text="Source Selection" FontSize="14" FontWeight="Bold" />
</StackPanel>
<!-- Title Specific Scan -->
- <StackPanel Grid.Row="1" Orientation="Vertical" HorizontalAlignment="Left" Margin="15,10,0,0">
+ <StackPanel Grid.Row="1" Orientation="Vertical" HorizontalAlignment="Left" Margin="5,10,0,0">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Optionally choose a specific title: " />
@@ -29,19 +29,19 @@
Minimum="0" Maximum="1000" Number="{Binding SelectedTitle, Mode=TwoWay}" />
</StackPanel>
- <TextBlock Text="Then choose your source: " Margin="0,20,0,0" />
+ <TextBlock Text="Then choose your source: " Margin="0,10,0,0" />
</StackPanel>
<!-- Source Type -->
- <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Center" Margin="15,10,0,0">
+ <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Left" Margin="5,10,0,0">
<Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
- Margin="0,0,0,10" Padding="8" HorizontalAlignment="Left">
+ 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 batch scan a number of files" 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" />
</StackPanel>
</StackPanel>
</Button>
@@ -86,7 +86,8 @@
<StackPanel Grid.Row="4" />
<StackPanel Grid.Row="5" VerticalAlignment="Bottom" Orientation="Vertical">
- <TextBlock Text="This is an experimental replacement for the source selection menu. Feedback welcome on the forum." Margin="10,0,10,0" TextWrapping="Wrap" />
+ <TextBlock Text="This is an experimental replacement for the source selection menu. Feedback welcome on the forum." Margin="10,0,10,0"
+ MaxWidth="300" TextWrapping="Wrap" />
</StackPanel>
</Grid>
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index 9c5a21f00..4ea954437 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -685,9 +685,9 @@
</Grid>
<!-- Source Selection-->
- <Controls:SourceSelection Grid.Row="1" Width="400" VerticalAlignment="Stretch" BorderThickness="1" BorderBrush="DarkGray"
+ <Controls:SourceSelection Grid.Row="1" MinWidth="300" HorizontalAlignment="Left" VerticalAlignment="Stretch" BorderThickness="1" BorderBrush="DarkGray"
Visibility="{Binding ShowSourceSelection, Converter={StaticResource boolToVisConverter}}"
- Margin="0,10,0,10" />
+ />
<!-- StatusPanel -->
<Controls:StatusPanel x:Name="loadingPanel"