summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-05-06 00:48:41 +0000
committersr55 <[email protected]>2012-05-06 00:48:41 +0000
commit2f9788338e0b48bc012298c9d7ac05ae98b6bdf6 (patch)
tree1c4dc97dfee2dcfce3f2685c28c6b2c6b198cdee /win/CS/HandBrakeWPF/Views/AddPresetView.xaml
parent3b7269378244f13341626883ce9ae73d49192ac9 (diff)
WinGui: (WPF) UI Consistency tweaks and improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4649 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/AddPresetView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/AddPresetView.xaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
index 216ee64e5..33229ca35 100644
--- a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
+++ b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml
@@ -5,7 +5,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:cal="http://www.caliburnproject.org"
xmlns:Converters="clr-namespace:HandBrakeWPF.Converters" mc:Ignorable="d"
Title="{Binding Title}"
- Width="350" Height="310">
+ Width="350" SizeToContent="Height">
<Window.Resources>
<Converters:BooleanToVisibilityConverter x:Key="boolToVisConverter" />
@@ -22,7 +22,7 @@
<!-- Header -->
<StackPanel Orientation="Horizontal" Grid.Row="0" Background="White" Height="30" Margin="0,0,0,10" >
- <Image Source="Images/Add16.png" Margin="10,0,5,0" Width="16" Height="16" VerticalAlignment="Center" />
+ <Image Source="Images/Add16.png" Margin="10,0,5,0" Width="24" Height="24" VerticalAlignment="Center" />
<StackPanel Orientation="Vertical" VerticalAlignment="Center">
<TextBlock Text="Add a Preset" FontWeight="Bold" />
</StackPanel>
@@ -78,8 +78,10 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
- <Button Content="Cancel" Padding="8,2" Margin="0,5,10,5" Grid.Column="1" cal:Message.Attach="[Event Click] = [Action Cancel]" />
- <Button Content="Add" Padding="8,2" Margin="0,5,10,5" Grid.Column="2" cal:Message.Attach="[Event Click] = [Action Add]" />
+ <Button Content="Cancel" Padding="8,2" Margin="0,5,10,5" Grid.Column="1"
+ IsCancel="True" cal:Message.Attach="[Event Click] = [Action Cancel]" />
+ <Button Content="Add" Padding="8,2" Margin="0,5,10,5" Grid.Column="2"
+ IsDefault="True" cal:Message.Attach="[Event Click] = [Action Add]" />
</Grid>
</Grid>