Loaded="ToolBarLoaded"\r
KeyboardNavigation.TabNavigation="Continue"\r
>\r
- <Button cal:Message.Attach="[Event Click] = [Action PresetAdd]" AutomationProperties.Name="Add Preset">\r
- <Button.Content>\r
- <StackPanel Orientation="Horizontal">\r
- <Image Width="20"\r
+\r
+ <ToolBar.Resources>\r
+ <Style TargetType="{x:Type ToolBarPanel}">\r
+ <Setter Property="Orientation" Value="Vertical"/>\r
+ <Setter Property="VerticalAlignment" Value="Center"/>\r
+ </Style>\r
+\r
+ <Style BasedOn="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" TargetType="{x:Type Button}" />\r
+ </ToolBar.Resources>\r
+\r
+ <ToolBarOverflowPanel>\r
+ <Button cal:Message.Attach="[Event Click] = [Action PresetAdd]" AutomationProperties.Name="Add Preset">\r
+ <Button.Content>\r
+ <StackPanel Orientation="Horizontal">\r
+ <Image Width="20"\r
Height="20"\r
Source="Images/add.png"\r
/>\r
- <TextBlock Margin="2,0,0,0"\r
+ <TextBlock Margin="2,0,0,0"\r
VerticalAlignment="Center"\r
Style="{StaticResource textBlockOrangeStyle}"\r
Text="{x:Static Properties:ResourcesUI.Generic_Add}"\r
/>\r
- </StackPanel>\r
- </Button.Content>\r
- </Button>\r
- <Button cal:Message.Attach="[Event Click] = [Action PresetRemove]" AutomationProperties.Name="Remove Preset">\r
- <Button.Content>\r
- <StackPanel Orientation="Horizontal">\r
- <Image Width="20"\r
+ </StackPanel>\r
+ </Button.Content>\r
+ </Button>\r
+\r
+ <Button Background="Transparent" cal:Message.Attach="[Event Click] = [Action PresetRemove]" AutomationProperties.Name="Remove Preset">\r
+ <Button.Content>\r
+ <StackPanel Orientation="Horizontal">\r
+ <Image Width="20"\r
Height="20"\r
Source="Images/remove.png"\r
SnapsToDevicePixels="True"\r
/>\r
- <TextBlock Margin="2,0,0,0"\r
+ <TextBlock Margin="2,0,0,0"\r
VerticalAlignment="Center"\r
Style="{StaticResource textBlockOrangeStyle}"\r
Text="{x:Static Properties:ResourcesUI.MainView_Remove}"\r
/>\r
- </StackPanel>\r
- </Button.Content>\r
- </Button>\r
- <Menu Background="Transparent" AutomationProperties.Name="Preset Options Dropdown">\r
- <MenuItem ToolBar.OverflowMode="Never">\r
- <MenuItem.Header>\r
- <StackPanel Orientation="Horizontal">\r
- <Image Width="20"\r
+ </StackPanel>\r
+ </Button.Content>\r
+ </Button>\r
+\r
+ <Menu Background="Transparent" AutomationProperties.Name="Preset Options Dropdown" MinHeight="22">\r
+ <MenuItem ToolBar.OverflowMode="Never">\r
+ <MenuItem.Header>\r
+ <StackPanel Orientation="Horizontal">\r
+ <Image Width="20"\r
Height="20"\r
Source="Images/Advanced.png"\r
RenderOptions.BitmapScalingMode="HighQuality"\r
/>\r
- <TextBlock Margin="2,0,0,0"\r
+ <TextBlock Margin="2,0,0,0"\r
VerticalAlignment="Center"\r
Style="{StaticResource textBlockOrangeStyle}"\r
Text="{x:Static Properties:ResourcesUI.MainView_Options}"\r
/>\r
- </StackPanel>\r
- </MenuItem.Header>\r
- <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_SetDefault}" cal:Message.Attach="[Event Click] = [Action PresetSetDefault]" />\r
- <Separator />\r
- <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_UpdateSelectedPreset}" cal:Message.Attach="[Event Click] = [Action PresetUpdate]" />\r
- <Separator />\r
- <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Import}" cal:Message.Attach="[Event Click] = [Action PresetImport]" />\r
- <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Export}" cal:Message.Attach="[Event Click] = [Action PresetExport]" />\r
- <Separator />\r
- <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_ResetBuiltInPresets}" cal:Message.Attach="[Event Click] = [Action PresetReset]" />\r
- </MenuItem>\r
- </Menu>\r
+ </StackPanel>\r
+ </MenuItem.Header>\r
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_SetDefault}" cal:Message.Attach="[Event Click] = [Action PresetSetDefault]" />\r
+ <Separator />\r
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_UpdateSelectedPreset}" cal:Message.Attach="[Event Click] = [Action PresetUpdate]" />\r
+ <Separator />\r
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Import}" cal:Message.Attach="[Event Click] = [Action PresetImport]" />\r
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Export}" cal:Message.Attach="[Event Click] = [Action PresetExport]" />\r
+ <Separator />\r
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_ResetBuiltInPresets}" cal:Message.Attach="[Event Click] = [Action PresetReset]" />\r
+ </MenuItem>\r
+ </Menu>\r
+ </ToolBarOverflowPanel>\r
+\r
</ToolBar>\r
</Grid>\r
</GroupBox>\r
<TextBlock Text="{Binding Path=ProgramStatusLabel}" TextTrimming="CharacterEllipsis" />\r
</StatusBarItem>\r
<StatusBarItem HorizontalAlignment="Right" ToolTip="{x:Static Properties:ResourcesTooltips.MainView_WhenDone}">\r
- <Menu Background="Transparent">\r
+ <Menu Background="Transparent" >\r
<MenuItem>\r
<MenuItem.Header>\r
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">\r
+ <StackPanel VerticalAlignment="Center" Orientation="Horizontal" MinHeight="26">\r
<TextBlock VerticalAlignment="Center" FontWeight="Bold" Text="{x:Static Properties:ResourcesUI.QueueView_WhenDone}" />\r
<TextBlock Margin="8,0,0,0" VerticalAlignment="Center" Text="{Binding QueueViewModel.WhenDoneAction}" />\r
<Path Height="5"\r