summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-05-25 15:35:29 +0000
committersr55 <[email protected]>2013-05-25 15:35:29 +0000
commit58c3ff8d0579bab85db1b301c5bbe8fd525217da (patch)
tree42a68208f427a38190e414a9864c7d2141c3b19b /win/CS
parent1dedd35335085d5c1a790bfcc11560df3f943e62 (diff)
WinGui: Add Clear buttons back to the Audio/Subs tabs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5515 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Views/AudioView.xaml11
-rw-r--r--win/CS/HandBrakeWPF/Views/SubtitlesView.xaml23
2 files changed, 20 insertions, 14 deletions
diff --git a/win/CS/HandBrakeWPF/Views/AudioView.xaml b/win/CS/HandBrakeWPF/Views/AudioView.xaml
index 3cb8423a2..1a1042e4d 100644
--- a/win/CS/HandBrakeWPF/Views/AudioView.xaml
+++ b/win/CS/HandBrakeWPF/Views/AudioView.xaml
@@ -40,12 +40,19 @@
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
- <Button Grid.Column="0"
- MaxWidth="95"
+
+ <StackPanel Orientation="Horizontal" Grid.Row="0">
+ <Button MinWidth="65"
Margin="0,0,10,0"
cal:Message.Attach="[Event Click] = [Action Add]"
Content="Add Track" />
+ <Button MinWidth="65"
+ Margin="0,0,10,0"
+ cal:Message.Attach="[Event Click] = [Action Clear]"
+ Content="Clear" />
+ </StackPanel>
+
<StackPanel Grid.Column="2"
Orientation="Horizontal"
Visibility="{Binding ShowPassthruOptions,
diff --git a/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml b/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml
index cd8529937..48c2e68b0 100644
--- a/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml
+++ b/win/CS/HandBrakeWPF/Views/SubtitlesView.xaml
@@ -28,23 +28,22 @@
FontWeight="Bold"
Text="Subtitles" />
- <Grid Grid.Row="1" Margin="10,5,10,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
+ <StackPanel Grid.Row="1" Margin="10,5,10,0" Orientation="Horizontal">
<Button Name="AddTrack"
- Grid.Column="0"
- Width="75"
+ MinWidth="75"
Margin="0,0,10,0"
cal:Message.Attach="[Event Click] = [Action Add]"
Content="Add" />
- <Button Grid.Column="2"
- MaxWidth="100"
+ <Button MinWidth="75"
cal:Message.Attach="[Event Click] = [Action Import]"
- Content="Import SRT" />
- </Grid>
+ Content="Import SRT"
+ Margin="0,0,10,0"/>
+ <Button MinWidth="65"
+ Grid.Column="3"
+ Margin="0,0,10,0"
+ cal:Message.Attach="[Event Click] = [Action Clear]"
+ Content="Clear" />
+ </StackPanel>
<ListBox Grid.Row="2"
Margin="10,10,10,10"