summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/PreviewView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-08-02 15:18:50 +0000
committersr55 <[email protected]>2014-08-02 15:18:50 +0000
commit6ea78897d46244337d7b857555b843451cc7aeea (patch)
tree24ef639cca12251bc4b7c004aa2b86185fcaa7c1 /win/CS/HandBrakeWPF/Views/PreviewView.xaml
parent872a601d453f16a41c8994f9f98453a5ecadad64 (diff)
WinGui: Fix a styling issue on the preview window. Disable libhb encode for the upcoming release so that users don't inadvertently turn it on. Made the new preview window an optional setting, off by default as it's a Alpha feature. (See Preferences)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6256 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/PreviewView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/PreviewView.xaml22
1 files changed, 10 insertions, 12 deletions
diff --git a/win/CS/HandBrakeWPF/Views/PreviewView.xaml b/win/CS/HandBrakeWPF/Views/PreviewView.xaml
index bb15e7ce4..c38a5dc2c 100644
--- a/win/CS/HandBrakeWPF/Views/PreviewView.xaml
+++ b/win/CS/HandBrakeWPF/Views/PreviewView.xaml
@@ -5,7 +5,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="{Binding Title}"
- Width="380"
+ Width="390"
Style="{StaticResource windowStyle}"
ResizeMode="NoResize"
SizeToContent="Height"
@@ -64,18 +64,16 @@
SelectedItem="{Binding Duration}" />
</StackPanel>
- <StackPanel Margin="10,10,0,0" Orientation="Horizontal">
- <ProgressBar Width="310"
- Height="22"
- Maximum="100"
- Minimum="0"
- Value="{Binding PercentageValue}" />
- <TextBlock Margin="5,0,0,0" Text="{Binding Percentage}" />
- </StackPanel>
+ <Grid Margin="10,10,10,0">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="*" />
+ <ColumnDefinition Width="Auto" MinWidth="50" />
+ </Grid.ColumnDefinitions>
+ <ProgressBar MinHeight="22" Maximum="100" Minimum="0" Value="{Binding PercentageValue}" Grid.Column="0" />
+ <TextBlock Margin="5,0,0,0" Text="{Binding Percentage}" Grid.Column="1" />
+ </Grid>
- <StackPanel Width="360"
- Margin="10,10,0,10"
- Orientation="Horizontal">
+ <StackPanel Margin="10,10,0,10" Orientation="Horizontal">
<CheckBox VerticalAlignment="Center"
Content="Use system default player"
IsChecked="{Binding UseSystemDefaultPlayer}" />