Skip to content

Commit

Permalink
WinGui: Toolbar Consistency HandBrake#833
Browse files Browse the repository at this point in the history
  • Loading branch information
sr55 committed Dec 25, 2017
1 parent cb4dc4e commit 2adcc5d
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions win/CS/HandBrakeWPF/Views/MainView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,6 @@

</Button>

<Button Name="ShowQueue" AutomationProperties.Name="Show Queue" cal:Message.Attach="[Event Click] = [Action OpenQueueWindow]">
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
SnapsToDevicePixels="True"
Source="Images/Queue_small.png"/>
<Label Margin="8,0,0,0"
VerticalAlignment="Center"
Content="{Binding QueueLabel, FallbackValue='{x:Static Properties:ResourcesUI.MainView_ShowQueue}'}"/>
</StackPanel>
</Button>

<Separator />

<Button Name="Start" AutomationProperties.Name="{x:Static Properties:ResourcesUI.MainView_StartEncode}"
cal:Message.Attach="[Event Click] = [Action StartEncode]"
Visibility="{Binding IsEncoding,
Expand Down Expand Up @@ -242,15 +228,27 @@

<Separator />

<Button Name="Preview" AutomationProperties.Name="Preview Encode" cal:Message.Attach="[Event Click] = [Action OpenPreviewWindow]" >
<Button Name="ShowQueue" AutomationProperties.Name="Show Queue" cal:Message.Attach="[Event Click] = [Action OpenQueueWindow]">
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
SnapsToDevicePixels="True"
Source="Images/Queue_small.png"/>
<Label Margin="8,0,0,0"
VerticalAlignment="Center"
Content="{Binding QueueLabel, FallbackValue='{x:Static Properties:ResourcesUI.MainView_ShowQueue}'}"/>
</StackPanel>
</Button>

<Button Name="Preview" AutomationProperties.Name="Preview Picture Preview Window" cal:Message.Attach="[Event Click] = [Action OpenPreviewWindow]" >
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
SnapsToDevicePixels="True"
Source="Images/picture_small.png"/>
<Label Margin="8,0,0,0"
VerticalAlignment="Center"
Content="Preview"/>
Content="{x:Static Properties:ResourcesUI.MainView_ShowPreview}"/>
</StackPanel>
</Button>

Expand Down

0 comments on commit 2adcc5d

Please sign in to comment.